]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/richmsgdlg.cpp
missing commit
[wxWidgets.git] / src / msw / richmsgdlg.cpp
index 3b8aa11187d5319d96cf4612ebe3593c0b138d19..58bb7cf68d297e93db2b33ff7eef817023f039c8 100644 (file)
@@ -18,6 +18,7 @@
 #if wxUSE_RICHMSGDLG
 
 #include "wx/richmsgdlg.h"
+#include "wx/modalhook.h"
 
 #ifndef WX_PRECOMP
     #include "wx/msw/private.h"
@@ -33,6 +34,8 @@
 
 int wxRichMessageDialog::ShowModal()
 {
+    WX_HOOK_MODAL_DIALOG();
+
 #ifdef wxHAS_MSW_TASKDIALOG
     using namespace wxMSWMessageDialog;