Reverted r21191. The one who calls BView::SetFont() is responsible for

also calling InvalidateLayout() and Invalidate(), if necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21251 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-05-27 15:02:05 +00:00
parent b5f602a702
commit 93c4bf98f1
2 changed files with 2 additions and 2 deletions

View File

@ -2129,8 +2129,6 @@ BView::SetFont(const BFont* font, uint32 mask)
fState->font_flags |= mask;
InvalidateLayout();
if (fOwner) {
check_lock();
do_owner_check();

View File

@ -126,5 +126,7 @@ ButtonTest::_SetButtonFont(bool bigFont)
// set font
fButton->SetFont(bigFont ? fBigFont : fDefaultFont);
fButton->InvalidateLayout();
fButton->Invalidate();
}
}