X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef68861e112d300e5d048259760a22f2b7a98d11..27d79a5027bee4f46e57c813d072422065cb1592:/src/generic/msgdlgg.cpp diff --git a/src/generic/msgdlgg.cpp b/src/generic/msgdlgg.cpp index 8a16ab3d9c..4050fcaee8 100644 --- a/src/generic/msgdlgg.cpp +++ b/src/generic/msgdlgg.cpp @@ -39,7 +39,7 @@ #include "wx/msgdlg.h" #include "wx/artprov.h" #include "wx/textwrapper.h" -#include "wx/testing.h" +#include "wx/modalhook.h" #if wxUSE_STATLINE #include "wx/statline.h" @@ -267,7 +267,7 @@ void wxGenericMessageDialog::OnCancel(wxCommandEvent& WXUNUSED(event)) int wxGenericMessageDialog::ShowModal() { - WX_TESTING_SHOW_MODAL_HOOK(); + WX_HOOK_MODAL_DIALOG(); if ( !m_created ) {