X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82a5f02c861e8d57ba8255a9553b941118ad4520..cce442ba7c8506fda1b1bf350390ef06b0863150:/include/wx/timer.h diff --git a/include/wx/timer.h b/include/wx/timer.h index 802544a91b..7593cfd406 100644 --- a/include/wx/timer.h +++ b/include/wx/timer.h @@ -172,7 +172,7 @@ private: typedef void (wxEvtHandler::*wxTimerEventFunction)(wxTimerEvent&); #define EVT_TIMER(id, func) \ - wxEventTableEntry( wxEVT_TIMER, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTimerEventFunction) & func, NULL), + DECLARE_EVENT_TABLE_ENTRY( wxEVT_TIMER, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTimerEventFunction) & func, NULL), #endif // wxUSE_GUI