use Invalidate() and UpdateIfNeeded() in BTextView::SetTextRect(). Fixes bug #571

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19824 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2007-01-16 09:04:14 +00:00
parent 1e634f4d9c
commit ee144512ec
1 changed files with 4 additions and 2 deletions

View File

@ -2025,8 +2025,10 @@ BTextView::SetTextRect(BRect rect)
fTextRect = rect;
if (Window() != NULL)
Refresh(0, fText->Length(), true, false);
if (Window() != NULL) {
Invalidate();
Window()->UpdateIfNeeded();
}
}