X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4578b0ceda90e103620894d3aa86284178ab1cd..404b319a85dadd7decf7a5a5331020520031a41c:/src/cocoa/msgdlg.mm?ds=inline diff --git a/src/cocoa/msgdlg.mm b/src/cocoa/msgdlg.mm index 772ec2489d..0d6072a226 100644 --- a/src/cocoa/msgdlg.mm +++ b/src/cocoa/msgdlg.mm @@ -31,6 +31,7 @@ #include "wx/cocoa/autorelease.h" #include "wx/cocoa/string.h" +#include "wx/testing.h" #import // ============================================================================ @@ -72,6 +73,8 @@ void wxCocoaMessageDialog::DoSetCustomLabel(wxString& var, const ButtonLabel& va int wxCocoaMessageDialog::ShowModal() { + WX_TESTING_SHOW_MODAL_HOOK(); + wxAutoNSAutoreleasePool thePool; NSAlert *alert = [[[NSAlert alloc] init] autorelease];