// class: the owner will get timer notifications which can be handled with
// EVT_TIMER
wxTimerBase(wxEvtHandler *owner, int id = -1)
- { Init(); SetOwner(owner, -1); }
+ { Init(); SetOwner(owner, id); }
// same as ctor above
void SetOwner(wxEvtHandler *owner, int id = -1)
// ctor starts the stop watch
wxStopWatch() { Start(); }
void Start(long t = 0);
- inline void Pause() { m_pause = GetElapsedTime(); }
- inline void Resume() { Start(m_pause); }
+ void Pause() { m_pause = GetElapsedTime(); }
+ void Resume() { Start(m_pause); }
// get elapsed time since the last Start() or Pause() in milliseconds
long Time() const;