X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f030ce0cffdbafca8c8091b4abd1d0ec15339c43..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/motif/filedlg.cpp diff --git a/src/motif/filedlg.cpp b/src/motif/filedlg.cpp index 57a4970dbe..5cee8fdb59 100644 --- a/src/motif/filedlg.cpp +++ b/src/motif/filedlg.cpp @@ -23,6 +23,7 @@ #include "wx/tokenzr.h" #include "wx/stockitem.h" +#include "wx/modalhook.h" #ifdef __VMS__ #pragma message disable nosimpint @@ -151,6 +152,8 @@ static void wxChangeListBoxColours(wxWindow* WXUNUSED(win), Widget widget) int wxFileDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + wxBeginBusyCursor(); // static char fileBuf[512];