X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b9cf5e6d2b033eb46419aba7c613420534cdfea8..f5a1953b341d16396763bee067ccdd96108f3aad:/include/wx/os2/timer.h 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);