]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/app.cpp
avoiding reshow of hidden windows when app is brought forward #12402
[wxWidgets.git] / 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
     }
 }