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:
parent
7042f1dd6e
commit
0efe29e09d
@ -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(®ion);
|
||||
|
||||
if (Label()) {
|
||||
font_height fontHeight;
|
||||
|
Loading…
x
Reference in New Issue
Block a user