- m_id = 0;
-}
-
-wxTimer::~wxTimer()
-{
- long id = m_id;
-
- wxTimer::Stop();
-
- wxTimerList.erase(id);
-}
-
-bool wxTimer::Start(int milliseconds, bool oneShot)
-{
- (void)wxTimerBase::Start(milliseconds, oneShot);
-
- wxCHECK_MSG( m_milli > 0, false, wxT("invalid value for timer timeour") );
-
- TIMERPROC wxTimerProcInst = (TIMERPROC)
- MakeProcInstance((FARPROC)wxTimerProc, wxGetInstance());