]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/dialog.mm
s/m_clientData/m_itemClientData/ so it doesn't conflict with wxEvtHandler union
[wxWidgets.git] / 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);
         }
     }