X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce7fe42e848cc0c9058dae906c3a7bded50681e6..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/univ/dialog.cpp?ds=sidebyside diff --git a/src/univ/dialog.cpp b/src/univ/dialog.cpp index bb1c941125..4c9609f097 100644 --- a/src/univ/dialog.cpp +++ b/src/univ/dialog.cpp @@ -29,7 +29,7 @@ #endif #include "wx/evtloop.h" -#include "wx/testing.h" +#include "wx/modalhook.h" //----------------------------------------------------------------------------- // wxDialog @@ -166,7 +166,7 @@ bool wxDialog::IsModal() const int wxDialog::ShowModal() { - WX_TESTING_SHOW_MODAL_HOOK(); + WX_HOOK_MODAL_DIALOG(); if ( IsModal() ) {