making sure peer->Move refreshes properly, bringing in synch with carbon, applying patch, fixes #10403

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-03-15 10:20:39 +00:00
parent 44ee9ed83b
commit 95fb31530e

View File

@@ -1086,8 +1086,10 @@ void wxWidgetCocoaImpl::Move(int x, int y, int width, int height)
y -= cy;
}
}
[[m_osxView superview] setNeedsDisplayInRect:[m_osxView frame]];
NSRect r = wxToNSRect( [m_osxView superview], wxRect(x,y,width, height) );
[m_osxView setFrame:r];
[[m_osxView superview] setNeedsDisplayInRect:r];
if ([m_osxView respondsToSelector:@selector(trackingTag)] )
{