X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4578b0ceda90e103620894d3aa86284178ab1cd..a4830bb56087db30c534dc6937242b2260d0a9c8:/src/os2/msgdlg.cpp diff --git a/src/os2/msgdlg.cpp b/src/os2/msgdlg.cpp index 97e9b8f99c..0fb64437af 100644 --- a/src/os2/msgdlg.cpp +++ b/src/os2/msgdlg.cpp @@ -22,6 +22,7 @@ #include "wx/math.h" #endif +#include "wx/modalhook.h" #include "wx/os2/private.h" #include @@ -34,6 +35,8 @@ IMPLEMENT_CLASS(wxMessageDialog, wxDialog) int wxMessageDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + HWND hWnd = 0; ULONG ulStyle = MB_OK; int nAns = wxOK;