]> git.saurik.com Git - wxWidgets.git/commitdiff
Since wxDialog::Show(false) only calls wxWindow::Show, we must explicitly hide the...
authorKevin Ollivier <kevino@theolliviers.com>
Fri, 19 Feb 2010 07:01:33 +0000 (07:01 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Fri, 19 Feb 2010 07:01:33 +0000 (07:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/dialog.mm

index 42b4dcd35b73260c8ddd5d583ff8d2be7785cda8..d55449d1b517559bb9079616f5644483788c3826 100644 (file)
@@ -43,6 +43,7 @@ void wxDialog::DoShowWindowModal()
 void wxDialog::EndWindowModal()
 {
     [NSApp endSheet: GetWXWindow()];
+    [GetWXWindow() orderOut:GetWXWindow()];
 }
 
 void wxDialog::DoShowModal()