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_
15 #include "wx/private/timer.h"
17 //-----------------------------------------------------------------------------
19 //-----------------------------------------------------------------------------
21 class WXDLLIMPEXP_CORE wxGTKTimerImpl
: public wxTimerImpl
24 wxGTKTimerImpl(wxTimer
* timer
) : wxTimerImpl(timer
) { m_sourceId
= 0; };
26 virtual bool Start( int millisecs
= -1, bool oneShot
= false );
28 virtual bool IsRunning() const { return m_sourceId
!= 0; }
36 #endif // _WX_GTK_PRIVATE_TIMER_H_