Use wxTimer::StartOnce() instead of wxTIMER_ONE_SHOT
This is more readable and shorter, so encourage using this form. No real changes.
This commit is contained in:
parent
39079cbf23
commit
163d310369
4 changed files with 5 additions and 5 deletions
|
|
@ -126,8 +126,8 @@ public:
|
|||
|
||||
To make your code more readable you may also use the following symbolic constants:
|
||||
- wxTIMER_CONTINUOUS: Start a normal, continuously running, timer
|
||||
- wxTIMER_ONE_SHOT: Start a one shot timer
|
||||
Alternatively, use StartOnce().
|
||||
- wxTIMER_ONE_SHOT: Start a one shot timer. Alternatively, and
|
||||
preferably, call StartOnce() instead of this function.
|
||||
|
||||
If the timer was already running, it will be stopped by this method before
|
||||
restarting it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue