backport of r75934, misplaced the orderOut: , see #15998, #15902

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2014-02-19 20:38:51 +00:00
parent afdec07df2
commit ed55d49aa2

View File

@@ -541,8 +541,8 @@ void wxGUIEventLoop::BeginModalSession( wxWindow* modalWindow )
defer:YES defer:YES
]; ];
m_dummyWindow = nsnow; m_dummyWindow = nsnow;
[nsnow orderOut:nil];
} }
[nsnow orderOut:nil];
m_modalSession = [NSApp beginModalSessionForWindow:nsnow]; m_modalSession = [NSApp beginModalSessionForWindow:nsnow];
wxASSERT_MSG(m_modalSession != NULL, "modal session couldn't be started"); wxASSERT_MSG(m_modalSession != NULL, "modal session couldn't be started");
} }