X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c0fdfbb420efa8d6a7a37a87fd6de092b02720d..d9b4ddf28fbf20fe28d20c72b37c85a8e2db686e:/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);