]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/splitter.h
Bring back help turned off as in previous WinCE setup.h. Perhaps it should be !__SMAR...
[wxWidgets.git] / include / wx / generic / splitter.h
index dc767d5b716c6524ad5edff5669ccbaf7056b6d1..12056cac563cbdb85bca13196c66d15198191504 100644 (file)
@@ -389,7 +389,7 @@ private:
 typedef void (wxEvtHandler::*wxSplitterEventFunction)(wxSplitterEvent&);
 
 #define wxSplitterEventHandler(func) \
-    (wxObjectEventFunction)wxStaticCastEvent(wxSplitterEventFunction, &func)
+    (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSplitterEventFunction, &func)
 
 #define wx__DECLARE_SPLITTEREVT(evt, id, fn) \
     wx__DECLARE_EVT1(wxEVT_COMMAND_SPLITTER_ ## evt, id, wxSplitterEventHandler(fn))