X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/643e9cf9f61fdbe517b15477f9247ca8ac0b3578..f86a4930f2c69058684496a1882343fe8e709bf2:/src/osx/cocoa/msgdlg.mm?ds=sidebyside diff --git a/src/osx/cocoa/msgdlg.mm b/src/osx/cocoa/msgdlg.mm index 8218fc7e87..40ed938450 100644 --- a/src/osx/cocoa/msgdlg.mm +++ b/src/osx/cocoa/msgdlg.mm @@ -21,7 +21,7 @@ #include "wx/control.h" #include "wx/thread.h" #include "wx/evtloop.h" -#include "wx/testing.h" +#include "wx/modalhook.h" #include "wx/osx/private.h" @@ -63,7 +63,7 @@ wxMessageDialog::~wxMessageDialog() int wxMessageDialog::ShowModal() { - WX_TESTING_SHOW_MODAL_HOOK(); + WX_HOOK_MODAL_DIALOG(); wxCFEventLoopPauseIdleEvents pause;