From: Stefan Csomor Date: Fri, 31 May 2013 17:33:53 +0000 (+0000) Subject: avoiding reshow of hidden windows when app is brought forward #12402 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/50f403a568d0ca48a20d780c4a2ebd5b53139aa2 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 --- diff --git a/src/osx/carbon/app.cpp b/src/osx/carbon/app.cpp index be1de28f32..4f7c331b8c 100644 --- a/src/osx/carbon/app.cpp +++ b/src/osx/carbon/app.cpp @@ -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 } }