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:
@@ -1086,8 +1086,10 @@ void wxWidgetCocoaImpl::Move(int x, int y, int width, int height)
|
|||||||
y -= cy;
|
y -= cy;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
[[m_osxView superview] setNeedsDisplayInRect:[m_osxView frame]];
|
||||||
NSRect r = wxToNSRect( [m_osxView superview], wxRect(x,y,width, height) );
|
NSRect r = wxToNSRect( [m_osxView superview], wxRect(x,y,width, height) );
|
||||||
[m_osxView setFrame:r];
|
[m_osxView setFrame:r];
|
||||||
|
[[m_osxView superview] setNeedsDisplayInRect:r];
|
||||||
|
|
||||||
if ([m_osxView respondsToSelector:@selector(trackingTag)] )
|
if ([m_osxView respondsToSelector:@selector(trackingTag)] )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user