]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/msgdlg.cpp
missing commit
[wxWidgets.git] / src / motif / msgdlg.cpp
index d648c0e78c95c06afb287d1aea9bde23c0417f30..c4b5576dd8d9b7c5aaceb5f09d2c33bc54a527ca 100644 (file)
@@ -40,6 +40,7 @@
     #include "wx/settings.h"
 #endif
 
     #include "wx/settings.h"
 #endif
 
+#include "wx/modalhook.h"
 #include "wx/motif/private.h"
 
 // ----------------------------------------------------------------------------
 #include "wx/motif/private.h"
 
 // ----------------------------------------------------------------------------
@@ -105,6 +106,8 @@ extern "C"
 
 int wxMessageDialog::ShowModal()
 {
 
 int wxMessageDialog::ShowModal()
 {
+    WX_HOOK_MODAL_DIALOG();
+
     const long style = GetMessageDialogStyle();
 
     DialogCreateFunction dialogCreateFunction;
     const long style = GetMessageDialogStyle();
 
     DialogCreateFunction dialogCreateFunction;