void SetOwner(wxEvtHandler *owner, int id = -1)
{ m_owner = owner; m_idTimer = id; }
+#ifdef __WXMAC_X__
+ virtual ~wxTimerBase() {} // Added min for Mac X
+#endif
+
// working with the timer
// ----------------------
typedef void (wxEvtHandler::*wxTimerEventFunction)(wxTimerEvent&);
-#define EVT_TIMER(id, func) { wxEVT_TIMER, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTimerEventFunction) & func, NULL},
+#define EVT_TIMER(id, func) \
+ DECLARE_EVENT_TABLE_ENTRY( wxEVT_TIMER, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTimerEventFunction) & func, NULL),
#endif // wxUSE_GUI