Set the low and view color on construction, and set the B_WILL_DRAW flag

too, since we can't do anything without it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23909 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2008-02-07 13:30:39 +00:00
parent c9aadc4f63
commit e4f975d47a

View File

@ -266,6 +266,12 @@ TermView::_InitObject(int32 argc, const char **argv)
if (status < B_OK)
return status;
// We need this
SetFlags(Flags() | B_WILL_DRAW);
SetLowColor(fTextBackColor);
SetViewColor(fTextBackColor);
return B_OK;
}