]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/timer.h
a93dbbe62e1764ba79f2b71cff126f526120144a
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/timer.h
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
14 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
15 #pragma interface "timer.h"
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 class WXDLLIMPEXP_CORE 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__