]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/classic/timer.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxTimer class
4 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 #include "wx/object.h"
16 #include "wx/mac/macnotfy.h"
22 class WXDLLEXPORT wxTimer
: public wxTimerBase
26 wxTimer(wxEvtHandler
*owner
, int id
= -1) : wxTimerBase(owner
, id
) { Init(); }
29 virtual bool Start(int milliseconds
= -1,
30 bool one_shot
= FALSE
); // Start timer
31 virtual void Stop(); // Stop timer
33 virtual bool IsRunning() const ;
40 DECLARE_ABSTRACT_CLASS(wxTimer
)