]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/iphone/msgdlg.mm
Disable handling of wxEVT_MOUSEWHEEL in wxVarScrollHelperEvtHandler in wxGTK.
[wxWidgets.git] / src / osx / iphone / msgdlg.mm
index bb43a6624376492bf0fac5599dd13eb7e2479146..3431cb5a9152137c823f30575cb0909357588f5b 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Stefan Csomor
 // Modified by:
 // Created:     04/01/98
-// RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -20,6 +19,7 @@
 
 #include "wx/thread.h"
 #include "wx/osx/private.h"
+#include "wx/modalhook.h"
 
 
 IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
@@ -36,6 +36,8 @@ wxMessageDialog::wxMessageDialog(wxWindow *parent,
 
 int wxMessageDialog::ShowModal()
 {
+    WX_HOOK_MODAL_DIALOG();
+
     int resultbutton = wxID_CANCEL;
 
     const long style = GetMessageDialogStyle();