]>
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 bool Start( int nMilliseconds
= -1
33 ,bool bOneShot
= FALSE
35 virtual void Stop(void);
37 inline virtual bool IsRunning(void) const { return m_ulId
!= 0L; }
46 DECLARE_ABSTRACT_CLASS(wxTimer
)
49 extern ULONG
wxTimerProc( HWND
WXUNUSED(hwnd
)