X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/os2/filedlg.cpp diff --git a/src/os2/filedlg.cpp b/src/os2/filedlg.cpp index f4fc9da6f1..d6d93809f3 100644 --- a/src/os2/filedlg.cpp +++ b/src/os2/filedlg.cpp @@ -39,6 +39,7 @@ #include #include "wx/tokenzr.h" +#include "wx/modalhook.h" #define wxMAXPATH 1024 #define wxMAXFILE 1024 @@ -104,6 +105,8 @@ void wxFileDialog::GetPaths ( int wxFileDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + wxString sTheFilter; wxString sFilterBuffer; wxChar* pzFilterBuffer;