1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/private/gtk/timer.h
3 // Purpose: wxTimerImpl for wxGTK
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_GTK_PRIVATE_TIMER_H_
11 #define _WX_GTK_PRIVATE_TIMER_H_
13 #include "wx/private/timer.h"
15 //-----------------------------------------------------------------------------
17 //-----------------------------------------------------------------------------
19 class WXDLLIMPEXP_CORE wxGTKTimerImpl
: public wxTimerImpl
22 wxGTKTimerImpl(wxTimer
* timer
) : wxTimerImpl(timer
) { m_sourceId
= 0; };
24 virtual bool Start( int millisecs
= -1, bool oneShot
= false );
26 virtual bool IsRunning() const { return m_sourceId
!= 0; }
32 #endif // _WX_GTK_PRIVATE_TIMER_H_