]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wizard.h
Temporary fix for link error to ~wxZipOutputStream()
[wxWidgets.git] / include / wx / wizard.h
index 3fe354b377f4da172802e124ab55c3643170232f..a7d0250f1bde174c42e592beb83187bc43459a74 100644 (file)
@@ -17,6 +17,8 @@
 #ifndef _WX_WIZARD_H_
 #define _WX_WIZARD_H_
 
+#include "wx/defs.h"
+
 #if wxUSE_WIZARDDLG
 
 // ----------------------------------------------------------------------------
@@ -297,7 +299,7 @@ END_DECLARE_EVENT_TYPES()
 typedef void (wxEvtHandler::*wxWizardEventFunction)(wxWizardEvent&);
 
 #define wxWizardEventHandler(func) \
-    (wxObjectEventFunction)wxStaticCastEvent(wxWizardEventFunction, &func)
+    (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxWizardEventFunction, &func)
 
 #define wx__DECLARE_WIZARDEVT(evt, id, fn) \
     wx__DECLARE_EVT1(wxEVT_WIZARD_ ## evt, id, wxWizardEventHandler(fn))