X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/017dc06b502c041c112a3948e6c5f65000a86d94..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/msw/richmsgdlg.cpp?ds=inline diff --git a/src/msw/richmsgdlg.cpp b/src/msw/richmsgdlg.cpp index 3b8aa11187..58bb7cf68d 100644 --- a/src/msw/richmsgdlg.cpp +++ b/src/msw/richmsgdlg.cpp @@ -18,6 +18,7 @@ #if wxUSE_RICHMSGDLG #include "wx/richmsgdlg.h" +#include "wx/modalhook.h" #ifndef WX_PRECOMP #include "wx/msw/private.h" @@ -33,6 +34,8 @@ int wxRichMessageDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + #ifdef wxHAS_MSW_TASKDIALOG using namespace wxMSWMessageDialog;