mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Fixed continuous drawing of controls by doing a ValidRect after DrawControl
This commit is contained in:
parent
55d8e8308c
commit
806a21d518
@ -137,7 +137,7 @@ PRBool nsMacControl::OnPaint(nsPaintEvent &aEvent)
|
||||
}
|
||||
|
||||
::Draw1Control(mControl);
|
||||
//¥¥ ::ValidRect(&(*mControl)->contrlRect);
|
||||
::ValidRect(&(*mControl)->contrlRect);
|
||||
}
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user