X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f030ce0cffdbafca8c8091b4abd1d0ec15339c43..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/motif/filedlg.cpp?ds=inline 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];