]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listbase.h
Bring back help turned off as in previous WinCE setup.h. Perhaps it should be !__SMAR...
[wxWidgets.git] / include / wx / listbase.h
index ef640effcbcf39a5d9c71558eb167697f50261e5..97a3555fae745ef34a79c0348774490de9b44bb3 100644 (file)
@@ -444,7 +444,7 @@ END_DECLARE_EVENT_TYPES()
 typedef void (wxEvtHandler::*wxListEventFunction)(wxListEvent&);
 
 #define wxListEventHandler(func) \
-    (wxObjectEventFunction)wxStaticCastEvent(wxListEventFunction, &func)
+    (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxListEventFunction, &func)
 
 #define wx__DECLARE_LISTEVT(evt, id, fn) \
     wx__DECLARE_EVT1(wxEVT_COMMAND_LIST_ ## evt, id, wxListEventHandler(fn))