]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/msgdlg.cpp
Make public headers compatible with Objective-C++ with ARC.
[wxWidgets.git] / src / motif / msgdlg.cpp
index d648c0e78c95c06afb287d1aea9bde23c0417f30..b26430c4c457bdbc64f0b8febf01bc36b14401b2 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Julian Smart
 // Modified by:
 // Created:     04/01/98
-// RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -40,6 +39,7 @@
     #include "wx/settings.h"
 #endif
 
+#include "wx/modalhook.h"
 #include "wx/motif/private.h"
 
 // ----------------------------------------------------------------------------
@@ -105,6 +105,8 @@ extern "C"
 
 int wxMessageDialog::ShowModal()
 {
+    WX_HOOK_MODAL_DIALOG();
+
     const long style = GetMessageDialogStyle();
 
     DialogCreateFunction dialogCreateFunction;