X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e05b13c4296284556a05e67d05addae9beb17b4..6178debcd342963974dbdce6ac2ddb2fbe89e42a:/src/osx/carbon/filedlg.cpp diff --git a/src/osx/carbon/filedlg.cpp b/src/osx/carbon/filedlg.cpp index 4fb787eacf..158846b529 100644 --- a/src/osx/carbon/filedlg.cpp +++ b/src/osx/carbon/filedlg.cpp @@ -541,7 +541,11 @@ int wxFileDialog::ShowModal() SetupExtraControls(NavDialogGetWindow(dialog)); if (err == noErr) + { + wxDialog::OSXBeginModalDialog(); err = ::NavDialogRun(dialog); + wxDialog::OSXEndModalDialog(); + } // clean up filter related data, etc. if (navFilterUPP)