]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/timer.h
5d006be202fcc6669609694909695f1df3b4f92d
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 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__