X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b9cf5e6d2b033eb46419aba7c613420534cdfea8..c27bcbd5a7cec9f03b15c69824da99c5bb75924a:/include/wx/os2/timer.h?ds=sidebyside diff --git a/include/wx/os2/timer.h b/include/wx/os2/timer.h index b4f8a2fc51..62ab0c423e 100644 --- a/include/wx/os2/timer.h +++ b/include/wx/os2/timer.h @@ -12,6 +12,10 @@ #ifndef _WX_TIMER_H_ #define _WX_TIMER_H_ +#ifdef __GNUG__ + #pragma interface "timer.h" +#endif + #include "wx/object.h" class WXDLLEXPORT wxTimer: public wxTimerBase @@ -29,12 +33,14 @@ public: { Init(); } ~wxTimer(); + virtual void Notify(void); virtual bool Start( int nMilliseconds = -1 ,bool bOneShot = FALSE ); virtual void Stop(void); inline virtual bool IsRunning(void) const { return m_ulId != 0L; } + inline int GetTimerId(void) const { return m_idTimer; } protected: void Init(void);