X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/445e564f120fb194a554ef70a6f2187b7ce693ed..0afeb753e0a6a3fdba290bf3612bb2f012d44d95:/src/osx/carbon/dirdlg.cpp diff --git a/src/osx/carbon/dirdlg.cpp b/src/osx/carbon/dirdlg.cpp index c8a97726f1..9ff1c075e7 100644 --- a/src/osx/carbon/dirdlg.cpp +++ b/src/osx/carbon/dirdlg.cpp @@ -18,10 +18,10 @@ #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/dialog.h" - #include "wx/cmndata.h" #endif // WX_PRECOMP #include "wx/filename.h" +#include "wx/modalhook.h" #include "wx/osx/private.h" @@ -73,6 +73,8 @@ wxDirDialog::wxDirDialog(wxWindow *parent, int wxDirDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + NavDialogRef dialog = NULL; NavDialogCreationOptions options; NavReplyRecord reply ;