(svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class

This commit is contained in:
rubidium
2009-09-30 21:00:35 +00:00
parent 01737c0a52
commit e3bb9351a4
6 changed files with 18 additions and 22 deletions

View File

@@ -166,9 +166,8 @@ bool DoZoomInOutWindow(int how, Window *w)
vp->virtual_left = w->viewport->scrollpos_x;
vp->virtual_top = w->viewport->scrollpos_y;
}
w->SetDirty();
/* Update the windows that have zoom-buttons to perhaps disable their buttons */
InvalidateThisWindowData(w);
w->InvalidateData();
return true;
}