]> git.saurik.com Git - wxWidgets.git/commitdiff
avoiding reshow of hidden windows when app is brought forward #12402
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 31 May 2013 17:33:53 +0000 (17:33 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 31 May 2013 17:33:53 +0000 (17:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/app.cpp

index be1de28f32714ecd0608cfbbdf6906ddb4da91dc..4f7c331b8c3c3404e23a1a13f3f42b093a2d7493 100644 (file)
@@ -390,8 +390,14 @@ void wxApp::MacReopenApp()
 
         if ( firstIconized )
             firstIconized->Iconize( false ) ;
+        
+        // showing hidden windows is not really always a good solution, also non-modal dialogs when closed end up
+        // as hidden tlws, we don't want to reshow those, so let's just reopen the minimized a.k.a. iconized tlws
+        // unless we find a regression ...
+#if 0
         else if ( firstHidden )
             firstHidden->Show( true );
+#endif
     }
 }