1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/private/timer.h
3 // Purpose: wxTimerImpl for wxGTK
4 // Author: Robert Roebling
5 // Copyright: (c) 1998 Robert Roebling
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
9 #ifndef _WX_GTK_PRIVATE_TIMER_H_
10 #define _WX_GTK_PRIVATE_TIMER_H_
14 #include "wx/private/timer.h"
16 //-----------------------------------------------------------------------------
18 //-----------------------------------------------------------------------------
20 class WXDLLIMPEXP_CORE wxGTKTimerImpl
: public wxTimerImpl
23 wxGTKTimerImpl(wxTimer
* timer
) : wxTimerImpl(timer
) { m_sourceId
= 0; }
25 virtual bool Start( int millisecs
= -1, bool oneShot
= false );
27 virtual bool IsRunning() const { return m_sourceId
!= 0; }
35 #endif // _WX_GTK_PRIVATE_TIMER_H_