]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/timer.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/timer.h
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
15 #pragma interface "timer.h"
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 class wxTimer
: public wxTimerBase
26 wxTimer(wxEvtHandler
*owner
, int id
= -1) : wxTimerBase(owner
, id
)
30 virtual bool Start( int millisecs
= -1, bool oneShot
= FALSE
);
33 virtual bool IsRunning() const { return m_tag
!= -1; }
41 DECLARE_ABSTRACT_CLASS(wxTimer
)
44 #endif // __GTKTIMERH__