]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialog.cpp
Updated release notes for 2.9.5.
[wxWidgets.git] / src / msw / dialog.cpp
index ccab43d45ef18a72bbe17c21dfdf82344670d5d5..b8b73d252549f2f0ce0e499fa542adf4ae5c6628 100644 (file)
@@ -25,7 +25,7 @@
 #endif
 
 #include "wx/dialog.h"
-#include "wx/testing.h"
+#include "wx/modalhook.h"
 
 #ifndef WX_PRECOMP
     #include "wx/msw/wrapcdlg.h"
@@ -198,7 +198,7 @@ bool wxDialog::Show(bool show)
 // show dialog modally
 int wxDialog::ShowModal()
 {
-    WX_TESTING_SHOW_MODAL_HOOK();
+    WX_HOOK_MODAL_DIALOG();
 
     wxASSERT_MSG( !IsModal(), wxT("ShowModal() can't be called twice") );