+ // ctors and initializers
+ // ----------------------
+
+ // default: if you don't call SetOwner(), your only chance to get timer
+ // notifications is to override Notify() in the derived class
+ wxTimerBase() { Init(); SetOwner(this); }
+
+ // ctor which allows to avoid having to override Notify() in the derived
+ // class: the owner will get timer notifications which can be handled with
+ // EVT_TIMER
+ wxTimerBase(wxEvtHandler *owner, int id = -1)
+ { Init(); SetOwner(owner, id); }
+
+ // same as ctor above
+ void SetOwner(wxEvtHandler *owner, int id = -1)
+ { m_owner = owner; m_idTimer = id; }
+
+ virtual ~wxTimerBase();