1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk1/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_GTK1_PRIVATE_TIMER_H_
10 #define _WX_GTK1_PRIVATE_TIMER_H_
12 #include "wx/private/timer.h"
14 //-----------------------------------------------------------------------------
16 //-----------------------------------------------------------------------------
18 class WXDLLIMPEXP_CORE wxGTKTimerImpl
: public wxTimerImpl
21 wxGTKTimerImpl(wxTimer
*timer
) : wxTimerImpl(timer
) { m_tag
= -1; }
23 virtual bool Start(int millisecs
= -1, bool oneShot
= FALSE
);
26 virtual bool IsRunning() const { return m_tag
!= -1; }
29 // registered timeout id, -1 if the timer isn't running
33 #endif // _WX_GTK1_PRIVATE_TIMER_H_