]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/filedlgg.cpp
missing commit
[wxWidgets.git] / src / generic / filedlgg.cpp
index a2a370d862fed7f76af7e71bdf2b782209b116b3..96ad05137f5069e41ddcc6624b5b7f066517185d 100644 (file)
@@ -49,6 +49,7 @@
 #include "wx/filectrl.h"
 #include "wx/generic/filedlgg.h"
 #include "wx/debug.h"
+#include "wx/modalhook.h"
 
 #if wxUSE_TOOLTIPS
     #include "wx/tooltip.h"
@@ -308,6 +309,8 @@ wxBitmapButton* wxGenericFileDialog::AddBitmapButton( wxWindowID winId,
 
 int wxGenericFileDialog::ShowModal()
 {
+    WX_HOOK_MODAL_DIALOG();
+
     if (CreateExtraControl())
     {
         wxSizer *sizer = GetSizer();