]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/dialog.mm
missing commit
[wxWidgets.git] / src / cocoa / dialog.mm
index fbc8bbe18d48749a162aa3a47b0247f45929e530..72a380243cfde788d03dbb7978a05cb9cc4f8542 100644 (file)
@@ -19,7 +19,7 @@
     #include "wx/settings.h"
 #endif //WX_PRECOMP
 
-#include "wx/testing.h"
+#include "wx/modalhook.h"
 #include "wx/cocoa/autorelease.h"
 #include "wx/cocoa/string.h"
 
@@ -128,7 +128,7 @@ bool wxDialog::Show(bool show)
 // is stopped (via EndModal()) it returns the exit code.
 int wxDialog::ShowModal()
 {
-    WX_TESTING_SHOW_MODAL_HOOK();
+    WX_HOOK_MODAL_DIALOG();
 
     wxCHECK_MSG(!IsModal(),GetReturnCode(),wxT("wxDialog::ShowModal called within its own modal loop"));