]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/timer.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxTimer class
4 // Author: David Webster
8 // Copyright: (c) David Webster
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 #include "wx/object.h"
17 class WXDLLEXPORT wxTimer
: public wxTimerBase
19 friend void wxProcessTimer(wxTimer
& timer
);
23 wxTimer( wxEvtHandler
* pOwner
32 virtual void Notify(void);
33 virtual bool Start( int nMilliseconds
= -1
34 ,bool bOneShot
= FALSE
36 virtual void Stop(void);
38 inline virtual bool IsRunning(void) const { return m_ulId
!= 0L; }
39 inline int GetTimerId(void) const { return m_idTimer
; }
48 DECLARE_ABSTRACT_CLASS(wxTimer
)
51 extern ULONG
wxTimerProc( HWND
WXUNUSED(hwnd
)