/**
@class wxTimer
- @wxheader{timer.h}
The wxTimer class allows you to execute code at specified intervals. Its
precision is platform-dependent, but in general will not be better than 1ms nor
/**
Destructor. Stops the timer if it is running.
*/
- ~wxTimer();
+ virtual ~wxTimer();
/**
Returns the ID of the events generated by this timer.
used and SetOwner() wasn't called.
Perform whatever action which is to be taken periodically here.
*/
- void Notify();
+ virtual void Notify();
/**
Associates the timer with the given @a owner object. When the timer is
If the timer was already running, it will be stopped by this method before
restarting it.
*/
- bool Start(int milliseconds = -1, bool oneShot = false);
+ virtual bool Start(int milliseconds = -1, bool oneShot = false);
/**
Stops the timer.
*/
- void Stop();
+ virtual void Stop();
};
/**
@class wxTimerEvent
- @wxheader{timer.h}
wxTimerEvent object is passed to the event handler of timer events.