]> git.saurik.com Git - wxWidgets.git/commitdiff
Hide (orderOut:) modal dialogs after stopping modal event loop.
authorDavid Elliott <dfe@tgwbd.org>
Sat, 10 Apr 2004 05:08:06 +0000 (05:08 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Sat, 10 Apr 2004 05:08:06 +0000 (05:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/dialog.mm

index eede94cdfc59fcb683f7af5f720e99241c7af9a1..9a41cdaaaca64814c0b46baf9564c7d566ddd24b 100644 (file)
@@ -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);
         }
     }