]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/msgdlg.cpp
Fix install_name_tool calls in OS X "make install".
[wxWidgets.git] / src / os2 / msgdlg.cpp
index 97e9b8f99c4ca1d7e317208b7a86616c1d04f355..858ff3d73de5c4c47925cff4ae5fd45e1d4dc601 100644 (file)
@@ -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 <stdlib.h>
@@ -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;