of course, GetPreferredSize() is defined void
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15077 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
45b013192a
commit
bbbe5a3329
@ -165,8 +165,10 @@ void BStringView::ResizeToPreferred()
|
||||
//------------------------------------------------------------------------------
|
||||
void BStringView::GetPreferredSize(float* width, float* height)
|
||||
{
|
||||
if (!fText)
|
||||
return BView::GetPreferredSize(width, height);
|
||||
if (!fText) {
|
||||
BView::GetPreferredSize(width, height);
|
||||
return;
|
||||
}
|
||||
|
||||
BFont font;
|
||||
GetFont(&font);
|
||||
|
Loading…
Reference in New Issue
Block a user