]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/generic/timer.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Generic implementation of wxTimer class
4 // Author: Vaclav Slavik
6 // Copyright: (c) Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __WX_TIMER_H__
12 #define __WX_TIMER_H__
14 //-----------------------------------------------------------------------------
16 //-----------------------------------------------------------------------------
20 class WXDLLEXPORT wxTimer
: public wxTimerBase
24 wxTimer(wxEvtHandler
*owner
, int timerid
= -1) : wxTimerBase(owner
, timerid
)
28 virtual bool Start(int millisecs
= -1, bool oneShot
= false);
31 virtual bool IsRunning() const;
34 static void NotifyTimers();
42 DECLARE_ABSTRACT_CLASS(wxTimer
)
45 #endif // __WX_TIMER_H__