]> git.saurik.com Git - wxWidgets.git/commitdiff
making sure peer->Move refreshes properly, bringing in synch with carbon, applying...
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 15 Mar 2009 10:20:39 +0000 (10:20 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 15 Mar 2009 10:20:39 +0000 (10:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/window.mm

index 1350349f94d826f9ecea5b6a93174778a18909ef..0d5b7b96518039f784cb3a4803896f9027db67f0 100644 (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)] )
     {