X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..34a34b020f1c8defacb299a0fa5c480fa65b8597:/include/wx/generic/timer.h diff --git a/include/wx/generic/timer.h b/include/wx/generic/timer.h index acfed178ce..0ac91f51e1 100644 --- a/include/wx/generic/timer.h +++ b/include/wx/generic/timer.h @@ -25,11 +25,11 @@ class WXDLLEXPORT wxTimer : public wxTimerBase { public: wxTimer() { Init(); } - wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id) + wxTimer(wxEvtHandler *owner, int timerid = -1) : wxTimerBase(owner, timerid) { Init(); } ~wxTimer(); - virtual bool Start(int millisecs = -1, bool oneShot = FALSE); + virtual bool Start(int millisecs = -1, bool oneShot = false); virtual void Stop(); virtual bool IsRunning() const; @@ -42,7 +42,7 @@ protected: private: wxTimerDesc *m_desc; - + DECLARE_ABSTRACT_CLASS(wxTimer) };