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

src/osx/window_osx.cpp

index 2c13ea8cb5f0389f780405a7bdb9318dd190b2d1..def6d915da4a46f8e49c40708e8be26a60ebb27c 100644 (file)
@@ -1252,6 +1252,9 @@ wxString wxWindowMac::GetLabel() const
 
 bool wxWindowMac::Show(bool show)
 {
+    if ( !show )
+        MacInvalidateBorders();
+    
     if ( !wxWindowBase::Show(show) )
         return false;