MacReopenApp implementation for restoring top-level window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -305,6 +305,10 @@ void wxApp::MacNewFile()
|
||||
void wxApp::MacReopenApp()
|
||||
{
|
||||
// eventually check for open docs, if none, call MacNewFile
|
||||
wxTopLevelWindowMac* topLevelWindow = wxDynamicCast(GetTopWindow(), wxTopLevelWindowMac);
|
||||
|
||||
if (topLevelWindow && topLevelWindow->IsIconized())
|
||||
topLevelWindow->Iconize(false);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user