BTextControl::AttachedToWindow() set wrong colors in case the control was

disabled (unlike SetEnabled()). They are now both using the correctly working
_UpdateTextViewColors() method.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16333 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-02-10 15:28:49 +00:00
parent f3eeafa8b9
commit 3a3f6c1ee9
2 changed files with 35 additions and 48 deletions
+1
View File
@@ -81,6 +81,7 @@ class BTextControl : public BControl {
BTextControl& operator=(const BTextControl& other);
void _CommitValue();
void _UpdateTextViewColors();
void _InitData(const char* label, const char* initialText,
BMessage* archive = NULL);