X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ab75332894d55b557102c5a287727ca635cb1ff..3e5f88c6d2cdb2d4b0de4f44146a9839dc55f129:/src/gtk/msgdlg.cpp?ds=sidebyside diff --git a/src/gtk/msgdlg.cpp b/src/gtk/msgdlg.cpp index 5bbdc930b8..b01e51b13e 100644 --- a/src/gtk/msgdlg.cpp +++ b/src/gtk/msgdlg.cpp @@ -24,6 +24,8 @@ #include "wx/intl.h" #endif +#include "wx/testing.h" + #include #include "wx/gtk/private.h" #include "wx/gtk/private/messagetype.h" @@ -273,6 +275,8 @@ void wxMessageDialog::GTKCreateMsgDialog() int wxMessageDialog::ShowModal() { + WX_TESTING_SHOW_MODAL_HOOK(); + // break the mouse capture as it would interfere with modal dialog (see // wxDialog::ShowModal) wxWindow * const win = wxWindow::GetCapture();