X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cf3e587a2ec542ba1eb6e03a84c54edefae1881..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/gtk1/filedlg.cpp?ds=sidebyside diff --git a/src/gtk1/filedlg.cpp b/src/gtk1/filedlg.cpp index 3827fd1b3d..efebaebf2a 100644 --- a/src/gtk1/filedlg.cpp +++ b/src/gtk1/filedlg.cpp @@ -13,6 +13,7 @@ #if wxUSE_FILEDLG #include "wx/filedlg.h" +#include "wx/modalhook.h" //----------------------------------------------------------------------------- @@ -49,6 +50,8 @@ void wxFileDialog::OnFakeOk( wxCommandEvent &event ) int wxFileDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + return wxGenericFileDialog::ShowModal(); }