There is a FillRegion() call after all

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15432 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2005-12-09 12:04:18 +00:00
parent 7042f1dd6e
commit 0efe29e09d

View File

@ -277,9 +277,7 @@ BTextControl::Draw(BRect updateRect)
BRegion updateRegion(updateRect);
// why is there no IntersectWith(BRect &) version?
region.IntersectWith(&updateRegion);
for (int32 i = region.CountRects(); i-- > 0;) {
FillRect(region.RectAt(i));
}
FillRegion(&region);
if (Label()) {
font_height fontHeight;