]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/timer.h
Some cleanup.
[wxWidgets.git] / include / wx / timer.h
index aee24ca764e350f9b132b8d3740996e4b8ea0502..30491db2ff37b96b57a7df4a574841d385e79b43 100644 (file)
@@ -41,7 +41,7 @@ public:
     // class: the owner will get timer notifications which can be handled with
     // EVT_TIMER
     wxTimerBase(wxEvtHandler *owner, int id = -1)
-        { Init(); SetOwner(owner, -1); }
+        { Init(); SetOwner(owner, id); }
 
     // same as ctor above
     void SetOwner(wxEvtHandler *owner, int id = -1)