X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/677eff077ec0e0fbdda61f4e5e7c186e21c4fc47..10769d8c47c21fe0ec5034726791a5ad4cf19475:/include/wx/timer.h diff --git a/include/wx/timer.h b/include/wx/timer.h index 7fff1bbdc3..115c9c33f7 100644 --- a/include/wx/timer.h +++ b/include/wx/timer.h @@ -28,6 +28,14 @@ // wxTimer // ---------------------------------------------------------------------------- +// more readable flags for Start(): + +// generate notifications periodically until the timer is stopped (default) +#define wxTIMER_CONTINUOUS FALSE + +// only send the notification once and then stop the timer +#define wxTIMER_ONE_SHOT TRUE + // the interface of wxTimer class class WXDLLEXPORT wxTimerBase : public wxObject {