]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/filedlg.cpp
Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target...
[wxWidgets.git] / src / motif / filedlg.cpp
index 57a4970dbe43260181de4d24e35007a90f12d6cd..5cee8fdb59e1651a8963095ebca50f0a1be3f91e 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "wx/tokenzr.h"
 #include "wx/stockitem.h"
 
 #include "wx/tokenzr.h"
 #include "wx/stockitem.h"
+#include "wx/modalhook.h"
 
 #ifdef __VMS__
 #pragma message disable nosimpint
 
 #ifdef __VMS__
 #pragma message disable nosimpint
@@ -151,6 +152,8 @@ static void wxChangeListBoxColours(wxWindow* WXUNUSED(win), Widget widget)
 
 int wxFileDialog::ShowModal()
 {
 
 int wxFileDialog::ShowModal()
 {
+    WX_HOOK_MODAL_DIALOG();
+
     wxBeginBusyCursor();
 
     //  static char fileBuf[512];
     wxBeginBusyCursor();
 
     //  static char fileBuf[512];