1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxTimer class
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
16 #pragma interface "timer.h"
19 #include "wx/object.h"
20 #include "wx/mac/macnotfy.h"
24 typedef struct MacTimerInfo
27 wxMacNotifierTableRef m_table
;
31 class WXDLLEXPORT wxTimer
: public wxTimerBase
35 wxTimer(wxEvtHandler
*owner
, int id
= -1) : wxTimerBase(owner
, id
) { Init(); }
38 virtual bool Start(int milliseconds
= -1,
39 bool one_shot
= FALSE
); // Start timer
40 virtual void Stop(); // Stop timer
42 virtual bool IsRunning() const ;
49 DECLARE_ABSTRACT_CLASS(wxTimer
)