X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/747592e7cb116a051e0964860a7e03a297704574..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/cocoa/dirdlg.mm diff --git a/src/cocoa/dirdlg.mm b/src/cocoa/dirdlg.mm index 1c3c95d8a5..2f2ce30012 100644 --- a/src/cocoa/dirdlg.mm +++ b/src/cocoa/dirdlg.mm @@ -31,6 +31,7 @@ #endif #include "wx/filename.h" +#include "wx/modalhook.h" #include "wx/cocoa/autorelease.h" #include "wx/cocoa/string.h" @@ -104,6 +105,8 @@ wxDirDialog::~wxDirDialog() int wxDirDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + wxAutoNSAutoreleasePool thePool; m_fileNames.Empty();