X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fa03f04345b620d1a14529b05961116b20a1297..1e255b00ced5114d9b599cd66cd9d737686cec94:/include/wx/timer.h diff --git a/include/wx/timer.h b/include/wx/timer.h index 409f88dc53..2ee202c106 100644 --- a/include/wx/timer.h +++ b/include/wx/timer.h @@ -190,7 +190,7 @@ private: typedef void (wxEvtHandler::*wxTimerEventFunction)(wxTimerEvent&); #define wxTimerEventHandler(func) \ - (wxObjectEventFunction)wxStaticCastEvent(wxTimerEventFunction, &func) + (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxTimerEventFunction, &func) #define EVT_TIMER(timerid, func) \ wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func))