]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mgl/timer.h
b9b28416517a38d7a9c66a324990e4005efc9027
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Vaclav Slavik
6 // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __WX_TIMER_H__
12 #define __WX_TIMER_H__
15 #pragma interface "timer.h"
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
23 class WXDLLEXPORT wxTimer
: public wxTimerBase
27 wxTimer(wxEvtHandler
*owner
, int id
= -1) : wxTimerBase(owner
, id
)
31 virtual bool Start( int millisecs
= -1, bool oneShot
= FALSE
) { return TRUE
; }
32 virtual void Stop() {}
34 virtual bool IsRunning() const { return m_tag
!= -1; }
42 DECLARE_ABSTRACT_CLASS(wxTimer
)
45 #endif // __GTKTIMERH__