X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4578b0ceda90e103620894d3aa86284178ab1cd..07aec89fe1e7bad8010911aa8863efecfa909946:/src/os2/msgdlg.cpp diff --git a/src/os2/msgdlg.cpp b/src/os2/msgdlg.cpp index 97e9b8f99c..858ff3d73d 100644 --- a/src/os2/msgdlg.cpp +++ b/src/os2/msgdlg.cpp @@ -4,7 +4,6 @@ // Author: David Webster // Modified by: // Created: 10/10/99 -// RCS-ID: $Id$ // Copyright: (c) David Webster // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -22,6 +21,7 @@ #include "wx/math.h" #endif +#include "wx/modalhook.h" #include "wx/os2/private.h" #include @@ -34,6 +34,8 @@ IMPLEMENT_CLASS(wxMessageDialog, wxDialog) int wxMessageDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + HWND hWnd = 0; ULONG ulStyle = MB_OK; int nAns = wxOK;