]> git.saurik.com Git - wxWidgets.git/commitdiff
making sure eventual borders get updated when windows are shown
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 21 Feb 2012 20:22:16 +0000 (20:22 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 21 Feb 2012 20:22:16 +0000 (20:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/window_osx.cpp

index def6d915da4a46f8e49c40708e8be26a60ebb27c..0208bf88389c5cb52f96d74493eba4d7ad643d07 100644 (file)
@@ -1261,6 +1261,9 @@ bool wxWindowMac::Show(bool show)
     if ( GetPeer() )
         GetPeer()->SetVisibility( show ) ;
 
     if ( GetPeer() )
         GetPeer()->SetVisibility( show ) ;
 
+    if ( show )
+        MacInvalidateBorders();
+
 #ifdef __WXOSX_IPHONE__
     // only when there's no native event support
     if ( !IsTopLevel() )
 #ifdef __WXOSX_IPHONE__
     // only when there's no native event support
     if ( !IsTopLevel() )