X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4d982a7cfcc3663c03e05fc5b62ba1b4965fae1..643e9cf9f61fdbe517b15477f9247ca8ac0b3578:/src/osx/dialog_osx.cpp diff --git a/src/osx/dialog_osx.cpp b/src/osx/dialog_osx.cpp index da2c32afec..8bb543ff75 100644 --- a/src/osx/dialog_osx.cpp +++ b/src/osx/dialog_osx.cpp @@ -13,6 +13,7 @@ #include "wx/dialog.h" #include "wx/evtloop.h" +#include "wx/testing.h" #ifndef WX_PRECOMP #include "wx/app.h" @@ -137,6 +138,8 @@ bool wxDialog::Show(bool show) // Replacement for Show(true) for modal dialogs - returns return code int wxDialog::ShowModal() { + WX_TESTING_SHOW_MODAL_HOOK(); + m_modality = wxDIALOG_MODALITY_APP_MODAL; Show();