]>
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 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_GTK_TIMER_H_
11 #define _WX_GTK_TIMER_H_
13 //-----------------------------------------------------------------------------
15 //-----------------------------------------------------------------------------
17 class WXDLLIMPEXP_CORE wxTimer
: public wxTimerBase
21 wxTimer(wxEvtHandler
*owner
, int id
= -1) : wxTimerBase(owner
, id
)
25 virtual bool Start(int millisecs
= -1, bool oneShot
= false);
28 virtual bool IsRunning() const { return m_sourceId
!= 0; }
35 DECLARE_ABSTRACT_CLASS(wxTimer
)
38 #endif // _WX_GTK_TIMER_H_