]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mgl/timer.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxTimer class
4 // Author: Vaclav Slavik
6 // Copyright: (c) 2001-2002 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 //-----------------------------------------------------------------------------
24 class WXDLLEXPORT wxTimer
: public wxTimerBase
28 wxTimer(wxEvtHandler
*owner
, int id
= -1) : wxTimerBase(owner
, id
)
32 virtual bool Start(int millisecs
= -1, bool oneShot
= FALSE
);
35 virtual bool IsRunning() const;
38 static void NotifyTimers();
46 DECLARE_ABSTRACT_CLASS(wxTimer
)
49 #endif // __WX_TIMER_H__