git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24321
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
public:
wxTimer() { Init(); }
{
public:
wxTimer() { Init(); }
- wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id)
+ wxTimer(wxEvtHandler *owner, int timerid = -1) : wxTimerBase(owner, timerid)
// ctor which allows to avoid having to override Notify() in the derived
// class: the owner will get timer notifications which can be handled with
// EVT_TIMER
// ctor which allows to avoid having to override Notify() in the derived
// class: the owner will get timer notifications which can be handled with
// EVT_TIMER
- wxTimerBase(wxEvtHandler *owner, int id = -1)
- { Init(); SetOwner(owner, id); }
+ wxTimerBase(wxEvtHandler *owner, int timerid = -1)
+ { Init(); SetOwner(owner, timerid); }
- void SetOwner(wxEvtHandler *owner, int id = -1)
- { m_owner = owner; m_idTimer = id; }
+ void SetOwner(wxEvtHandler *owner, int timerid = -1)
+ { m_owner = owner; m_idTimer = timerid; }
class WXDLLEXPORT wxTimerEvent : public wxEvent
{
public:
class WXDLLEXPORT wxTimerEvent : public wxEvent
{
public:
- wxTimerEvent(int id = 0, int interval = 0) : wxEvent(id)
+ wxTimerEvent(int timerid = 0, int interval = 0) : wxEvent(timerid)
{
m_eventType = wxEVT_TIMER;
{
m_eventType = wxEVT_TIMER;
typedef void (wxEvtHandler::*wxTimerEventFunction)(wxTimerEvent&);
typedef void (wxEvtHandler::*wxTimerEventFunction)(wxTimerEvent&);
-#define EVT_TIMER(id, func) \
- DECLARE_EVENT_TABLE_ENTRY( wxEVT_TIMER, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxTimerEventFunction) & func, NULL),
+#define EVT_TIMER(timerid, func) \
+ DECLARE_EVENT_TABLE_ENTRY( wxEVT_TIMER, timerid, -1, (wxObjectEventFunction) (wxEventFunction) (wxTimerEventFunction) & func, NULL),
#endif // wxUSE_GUI && wxUSE_TIMER
#endif // wxUSE_GUI && wxUSE_TIMER