]>
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
);
25 virtual bool Start( int nMilliseconds
= -1
26 ,bool bOneShot
= FALSE
28 virtual void Stop(void);
30 inline virtual bool IsRunning(void) const { return m_ulId
!= 0L; }
37 DECLARE_ABSTRACT_CLASS(wxTimer
)