- // ctor starts the stop watch
- wxStopWatch() { Start(); }
- void Start(long t = 0);
- void Pause() { m_pause = GetElapsedTime(); }
- void Resume() { Start(m_pause); }
-
- // get elapsed time since the last Start() or Pause() in milliseconds
- long Time() const;
-
-protected:
- // returns the elapsed time since t0
- long GetElapsedTime() const;
+ wxTimerEvent(int timerid = 0, int interval = 0) : wxEvent(timerid)
+ {
+ m_eventType = wxEVT_TIMER;