1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk1/private/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_GTK1_PRIVATE_TIMER_H_
11 #define _WX_GTK1_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_tag
= -1; }
24 virtual bool Start(int millisecs
= -1, bool oneShot
= FALSE
);
27 virtual bool IsRunning() const { return m_tag
!= -1; }
30 // registered timeout id, -1 if the timer isn't running
34 #endif // _WX_GTK1_PRIVATE_TIMER_H_