git-svn-id: svn://ultimatepp.org/upp/trunk@5593 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-11-29 18:33:57 +00:00
commit c67ab5a145
2 changed files with 7 additions and 6 deletions

View file

@ -263,7 +263,6 @@ void Ctrl::DoUpdate()
Vector<Rect> Ctrl::GetPaintRects()
{
Vector<Rect> r;
int q = FindTopCtrl();
r.Add(GetScreenRect());
for(int i = max(FindTopCtrl() + 1, 0); i < topctrl.GetCount(); i++)
Subtract(r, topctrl[i]->GetScreenRect());