X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05facebb89314f458099e0297abaa9a1b152c3a9..ce76f779c6cfd2155de825021cc645572fe43625:/include/wx/os2/timer.h diff --git a/include/wx/os2/timer.h b/include/wx/os2/timer.h index 3c9ff0267d..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,7 +40,7 @@ public: virtual void Stop(void); inline virtual bool IsRunning(void) const { return m_ulId != 0L; } - inline ULONG GetTimerId(void) const { return m_ulId; } + inline int GetTimerId(void) const { return m_idTimer; } protected: void Init(void);