From 95fb31530e382c4b355b0c853121441ec97aec24 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 15 Mar 2009 10:20:39 +0000 Subject: [PATCH] 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 --- src/osx/cocoa/window.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osx/cocoa/window.mm b/src/osx/cocoa/window.mm index 1350349f94..0d5b7b9651 100644 --- a/src/osx/cocoa/window.mm +++ b/src/osx/cocoa/window.mm @@ -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)] ) { -- 2.47.2