]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/msgdlg.cpp
Fit modeless preferences dialog to its contents too.
[wxWidgets.git] / src / osx / carbon / msgdlg.cpp
index 808fbcc3857a10bead04885d545ed1a872207bc5..6ce68371d1143797a85e6fb84bf9aff3fafcdde5 100644 (file)
@@ -19,7 +19,7 @@
 #endif
 
 #include "wx/thread.h"
-#include "wx/testing.h"
+#include "wx/modalhook.h"
 #include "wx/osx/uma.h"
 
 
@@ -37,7 +37,7 @@ wxMessageDialog::wxMessageDialog(wxWindow *parent,
 
 int wxMessageDialog::ShowModal()
 {
-    WX_TESTING_SHOW_MODAL_HOOK();
+    WX_HOOK_MODAL_DIALOG();
 
     int resultbutton = wxID_CANCEL;