]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/motif/timer.h
d6d6df245538e716de060bf16d16044c220717f1
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxTimer class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
16 #pragma interface "timer.h"
19 class WXDLLEXPORT wxTimer
: public wxTimerBase
21 friend void wxTimerCallback(wxTimer
* timer
);
27 virtual bool Start(int milliseconds
= -1, bool oneShot
= FALSE
);
30 virtual bool IsRunning() const { return m_id
!= 0; }
36 DECLARE_DYNAMIC_CLASS(wxTimer
)