]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/calctrl.h
define wxUSE_UNICODE_MSLU as 0 unconditionally, CE doesn't support nor need MSLU
[wxWidgets.git] / include / wx / calctrl.h
index 2fd259e4250ca7b2d51ed541b8d8251df3e5d68b..99d0ef6034fc0e44fb763b9afe8e62bbc1ed180b 100644 (file)
@@ -214,7 +214,7 @@ END_DECLARE_EVENT_TYPES()
 typedef void (wxEvtHandler::*wxCalendarEventFunction)(wxCalendarEvent&);
 
 #define wxCalendarEventHandler(func) \
-    (wxObjectEventFunction)wxStaticCastEvent(wxCalendarEventFunction, &func)
+    (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxCalendarEventFunction, &func)
 
 #define wx__DECLARE_CALEVT(evt, id, fn) \
     wx__DECLARE_EVT1(wxEVT_CALENDAR_ ## evt, id, wxCalendarEventHandler(fn))