X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c0fdfbb420efa8d6a7a37a87fd6de092b02720d..924b84ab9461c95cf5c5386d1091ae0f7a8e7ce7:/include/wx/os2/timer.h diff --git a/include/wx/os2/timer.h b/include/wx/os2/timer.h index c1324430ed..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 @@ -36,6 +40,7 @@ public: 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);