DoMoveWindow: setNeedsDisplay:YES for the superview

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2003-08-18 19:15:53 +00:00
parent d5fc095cf5
commit b915b80565

View File

@@ -506,6 +506,8 @@ void wxWindowCocoa::DoMoveWindow(int x, int y, int width, int height)
NSRect cocoaRect = NSMakeRect(x,parentRect.size.height-(y+height),width,height);
[nsview setFrame: cocoaRect];
// Be sure to redraw the parent to reflect the changed position
[superview setNeedsDisplay:YES];
}
void wxWindowCocoa::SetInitialFrameRect(const wxPoint& pos, const wxSize& size)