X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5c5dad5950a43edbb9a4e7144f44b8f3bd6bf80..c59abe0376cf9d488b8ea1ae49fa2858c4057cc5:/include/wx/generic/timer.h diff --git a/include/wx/generic/timer.h b/include/wx/generic/timer.h index 83a6e5c2e2..63f0ab1a63 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 //----------------------------------------------------------------------------- @@ -27,9 +23,9 @@ public: wxTimer() { Init(); } wxTimer(wxEvtHandler *owner, int timerid = -1) : wxTimerBase(owner, timerid) { Init(); } - ~wxTimer(); + virtual ~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) };