adding another assert for tracking modalSession problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -333,6 +333,7 @@ void wxGUIEventLoop::BeginModalSession( wxWindow* modalWindow )
|
||||
m_dummyWindow = nsnow;
|
||||
}
|
||||
m_modalSession = [NSApp beginModalSessionForWindow:nsnow];
|
||||
wxASSERT_MSG(m_modalSession != NULL, "modal session couldn't be started");
|
||||
}
|
||||
|
||||
void wxGUIEventLoop::EndModalSession()
|
||||
|
||||
Reference in New Issue
Block a user