The wxTimer object is an abstraction of Windows 3, XView and X toolkit timers. To use it, derive a new class and override the Notify member to perform the required action. Start with Start, stop with Stop, it's as simple as that.
wxTimer::wxTimer
voidwxTimer
Constructor.
wxTimer::wxTimer
voidwxTimer
Destructor. Stops the timer if activated.
wxTimer::Notify
voidNotify
This member should be overridden by the user. It is called on timeout.
wxTimer::Start
BoolStartint milliseconds = -1
(Re)starts the timer. If milliseconds is absent or -1, the previous value is used. Returns FALSE if the timer could not be started, TRUE otherwise (in Windows 3 timers are a limited resource).
wxTimer::Stop
voidStop
Stops the timer.