]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/timer.h
ffa150e111c6a4b4224c4b092bc92aa67679b7b9
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxTimer class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "timer.h"
19 class WXDLLEXPORT wxTimer
: public wxTimerBase
21 friend void wxProcessTimer(wxTimer
& timer
);
25 wxTimer(wxEvtHandler
*owner
, int id
= wxID_ANY
) : wxTimerBase(owner
, id
)
29 virtual bool Start(int milliseconds
= -1, bool oneShot
= false);
32 virtual bool IsRunning() const { return m_id
!= 0; }
40 DECLARE_DYNAMIC_CLASS_NO_COPY(wxTimer
)