X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6636ef8ddf9eda0d0352c29d98cb141676a51a2d..48e05747043db02c4e9d2e286eca4fdf5dee7881:/src/osx/carbon/filedlg.cpp diff --git a/src/osx/carbon/filedlg.cpp b/src/osx/carbon/filedlg.cpp index 9592010d29..b0a4e7b51b 100644 --- a/src/osx/carbon/filedlg.cpp +++ b/src/osx/carbon/filedlg.cpp @@ -26,6 +26,7 @@ #include "wx/filename.h" #include "wx/osx/private.h" +#include "wx/modalhook.h" #ifndef __DARWIN__ #include @@ -476,6 +477,8 @@ void wxFileDialog::SetupExtraControls(WXWindow nativeWindow) int wxFileDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + m_paths.Empty(); m_fileNames.Empty();