]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/richmsgdlg.cpp
Fix restoring the status bar help message after closing MSW menu from keyboard.
[wxWidgets.git] / src / msw / richmsgdlg.cpp
index 67a827e21b151560b0d9a9b5015700536a906512..58bb7cf68d297e93db2b33ff7eef817023f039c8 100644 (file)
@@ -18,7 +18,7 @@
 #if wxUSE_RICHMSGDLG
 
 #include "wx/richmsgdlg.h"
 #if wxUSE_RICHMSGDLG
 
 #include "wx/richmsgdlg.h"
-#include "wx/testing.h"
+#include "wx/modalhook.h"
 
 #ifndef WX_PRECOMP
     #include "wx/msw/private.h"
 
 #ifndef WX_PRECOMP
     #include "wx/msw/private.h"
@@ -34,7 +34,7 @@
 
 int wxRichMessageDialog::ShowModal()
 {
 
 int wxRichMessageDialog::ShowModal()
 {
-    WX_TESTING_SHOW_MODAL_HOOK();
+    WX_HOOK_MODAL_DIALOG();
 
 #ifdef wxHAS_MSW_TASKDIALOG
     using namespace wxMSWMessageDialog;
 
 #ifdef wxHAS_MSW_TASKDIALOG
     using namespace wxMSWMessageDialog;