misplaced the orderOut: , see #15998, #15902

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2014-02-19 20:24:04 +00:00
parent f74fcabb0f
commit 43f960c9e1

View File

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