avoiding reshow of hidden windows when app is brought forward #12402

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2013-05-31 17:33:53 +00:00
parent 4c86168d9a
commit 50f403a568

View File

@@ -390,8 +390,14 @@ void wxApp::MacReopenApp()
if ( firstIconized ) if ( firstIconized )
firstIconized->Iconize( false ) ; 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 ) else if ( firstHidden )
firstHidden->Show( true ); firstHidden->Show( true );
#endif
} }
} }