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:
Stefan Csomor
2011-06-05 15:32:50 +00:00
parent 45791d3c21
commit 203ec4242b

View File

@@ -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()