Made it a bit clearer that virtuals do not work in the constructor the way you'd think they do.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14866 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
105644bf32
commit
ee001e262a
@ -27,7 +27,7 @@ BTextControl::BTextControl(BRect frame, const char *name, const char *label,
|
||||
InitData(label, text);
|
||||
|
||||
float height;
|
||||
GetPreferredSize(NULL, &height);
|
||||
BTextControl::GetPreferredSize(NULL, &height);
|
||||
|
||||
ResizeTo(Bounds().Width(), height);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user