1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/os2/private/timer.h
3 // Purpose: wxTimer class
4 // Author: David Webster
7 // Copyright: (c) David Webster
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_OS2_PRIVATE_TIMER_H_
12 #define _WX_OS2_PRIVATE_TIMER_H_
14 #include "wx/private/timer.h"
16 class WXDLLIMPEXP_CORE wxOS2TimerImpl
: public wxTimerImpl
18 friend void wxProcessTimer(wxOS2TimerImpl
& timer
);
21 wxOS2TimerImpl(wxTimer
*timer
) : wxTimerImpl(timer
) { m_ulId
= 0; }
23 virtual bool Start(int nMilliseconds
= -1, bool bOneShot
= FALSE
);
24 virtual void Stop(void);
26 virtual bool IsRunning(void) const { return m_ulId
!= 0L; }
33 extern ULONG
wxTimerProc( HWND
WXUNUSED(hwnd
)
38 #endif // _WX_OS2_PRIVATE_TIMER_H_