X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..08b97268061292f7c3794dae243a6490b23a42f1:/include/wx/generic/timer.h diff --git a/include/wx/generic/timer.h b/include/wx/generic/timer.h index acfed178ce..e184a1ea16 100644 --- a/include/wx/generic/timer.h +++ b/include/wx/generic/timer.h @@ -11,10 +11,6 @@ #ifndef __WX_TIMER_H__ #define __WX_TIMER_H__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "timer.h" -#endif - //----------------------------------------------------------------------------- // wxTimer //----------------------------------------------------------------------------- @@ -25,11 +21,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 +38,7 @@ protected: private: wxTimerDesc *m_desc; - + DECLARE_ABSTRACT_CLASS(wxTimer) };