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