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:
@@ -265,7 +265,13 @@ TermView::_InitObject(int32 argc, const char **argv)
|
|||||||
status = _AttachShell(fShell);
|
status = _AttachShell(fShell);
|
||||||
if (status < B_OK)
|
if (status < B_OK)
|
||||||
return status;
|
return status;
|
||||||
|
|
||||||
|
// We need this
|
||||||
|
SetFlags(Flags() | B_WILL_DRAW);
|
||||||
|
|
||||||
|
SetLowColor(fTextBackColor);
|
||||||
|
SetViewColor(fTextBackColor);
|
||||||
|
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user