X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce00f59b5b169752d2f05ce3bb1a88ddc1b38b4c..47e175a24f862aa8b7ca7dd4a2bb5957991e7f2d:/src/osx/carbon/msgdlg.cpp diff --git a/src/osx/carbon/msgdlg.cpp b/src/osx/carbon/msgdlg.cpp index b0671595c9..808fbcc385 100644 --- a/src/osx/carbon/msgdlg.cpp +++ b/src/osx/carbon/msgdlg.cpp @@ -19,6 +19,7 @@ #endif #include "wx/thread.h" +#include "wx/testing.h" #include "wx/osx/uma.h" @@ -36,6 +37,8 @@ wxMessageDialog::wxMessageDialog(wxWindow *parent, int wxMessageDialog::ShowModal() { + WX_TESTING_SHOW_MODAL_HOOK(); + int resultbutton = wxID_CANCEL; const long style = GetMessageDialogStyle();