X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c2f3a60d1e8e825075f40b65f612ff1853a6773..ad653fa23069c5d9378247084f03c9a718c3ad62:/src/gtk/msgdlg.cpp diff --git a/src/gtk/msgdlg.cpp b/src/gtk/msgdlg.cpp index 2c561dfca3..6d1104ae62 100644 --- a/src/gtk/msgdlg.cpp +++ b/src/gtk/msgdlg.cpp @@ -24,7 +24,7 @@ #include "wx/intl.h" #endif -#include "wx/testing.h" +#include "wx/modalhook.h" #include #include "wx/gtk/private.h" @@ -276,7 +276,7 @@ void wxMessageDialog::GTKCreateMsgDialog() int wxMessageDialog::ShowModal() { - WX_TESTING_SHOW_MODAL_HOOK(); + WX_HOOK_MODAL_DIALOG(); // break the mouse capture as it would interfere with modal dialog (see // wxDialog::ShowModal)