]>
git.saurik.com Git - wxWidgets.git/blob - src/qt/timer.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxTimer implementation
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "timer.h"
18 IMPLEMENT_ABSTRACT_CLASS(wxTimer
, wxObject
)
33 bool wxTimer::Start(int milliseconds
,bool mode
)
36 if (m_milliseconds
< 0)
37 m_milliseconds
= lastMilli
;
39 if (m_milliseconds
<= 0)
42 m_lastMilli
= m_milli
= m_milliseconds
;
44 // TODO: set the timer going.