Casting fix for events. Needs check by ARM eVC4 users.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user