Fixed continuous drawing of controls by doing a ValidRect after DrawControl
git-svn-id: svn://10.0.0.236/trunk@16660 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -137,7 +137,7 @@ PRBool nsMacControl::OnPaint(nsPaintEvent &aEvent)
|
||||
}
|
||||
|
||||
::Draw1Control(mControl);
|
||||
//¥¥ ::ValidRect(&(*mControl)->contrlRect);
|
||||
::ValidRect(&(*mControl)->contrlRect);
|
||||
}
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user