narrowing allowed classes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-11-04 14:06:59 +00:00
parent cdc86e05a3
commit b644173858

View File

@@ -327,7 +327,8 @@ void wxApp::MacReopenApp()
wxTopLevelWindow* win = (wxTopLevelWindow*) node->GetData();
if ( !win->IsShown() )
{
if ( firstHidden == NULL /* && wxDynamicCast( win, wxFrame ) */ )
// make sure we don't show 'virtual toplevel windows' like wxTaskBarIconWindow
if ( firstHidden == NULL && ( wxDynamicCast( win, wxFrame ) || wxDynamicCast( win, wxDialog ) ) )
firstHidden = win ;
}
else if ( win->IsIconized() )