X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/643e9cf9f61fdbe517b15477f9247ca8ac0b3578..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/cocoa/msgdlg.mm diff --git a/src/cocoa/msgdlg.mm b/src/cocoa/msgdlg.mm index 0d6072a226..b14a70ba61 100644 --- a/src/cocoa/msgdlg.mm +++ b/src/cocoa/msgdlg.mm @@ -31,7 +31,7 @@ #include "wx/cocoa/autorelease.h" #include "wx/cocoa/string.h" -#include "wx/testing.h" +#include "wx/modalhook.h" #import // ============================================================================ @@ -73,7 +73,7 @@ void wxCocoaMessageDialog::DoSetCustomLabel(wxString& var, const ButtonLabel& va int wxCocoaMessageDialog::ShowModal() { - WX_TESTING_SHOW_MODAL_HOOK(); + WX_HOOK_MODAL_DIALOG(); wxAutoNSAutoreleasePool thePool;