Hide (orderOut:) modal dialogs after stopping modal event loop.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -144,6 +144,7 @@ bool wxDialog::Show(bool show)
|
||||
{
|
||||
wxLogTrace(wxTRACE_COCOA,wxT("abortModal"));
|
||||
[wxTheApp->GetNSApplication() abortModal];
|
||||
[m_cocoaNSWindow orderOut:m_cocoaNSWindow];
|
||||
wxModalDialogs.DeleteObject(this);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user