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:
@@ -277,9 +277,7 @@ BTextControl::Draw(BRect updateRect)
|
|||||||
BRegion updateRegion(updateRect);
|
BRegion updateRegion(updateRect);
|
||||||
// why is there no IntersectWith(BRect &) version?
|
// why is there no IntersectWith(BRect &) version?
|
||||||
region.IntersectWith(&updateRegion);
|
region.IntersectWith(&updateRegion);
|
||||||
for (int32 i = region.CountRects(); i-- > 0;) {
|
FillRegion(®ion);
|
||||||
FillRect(region.RectAt(i));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Label()) {
|
if (Label()) {
|
||||||
font_height fontHeight;
|
font_height fontHeight;
|
||||||
|
|||||||
Reference in New Issue
Block a user