]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/dialog.mm
Override CanFocus because the wxWindow level test will check if the NSTextView's...
[wxWidgets.git] / 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()