]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_timer.i
Use a compatible bitmap if a depth of -1 is given
[wxWidgets.git] / wxPython / src / _timer.i
index 6d669bc44f4dc16ce39287a331cf42b2f7a423ee..a82aa5a626ca0f69accee8e6276b801d8681b1fa 100644 (file)
@@ -40,7 +40,7 @@ IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
 %name(Timer) class wxPyTimer : public wxEvtHandler
 {
 public:
-    %addtofunc wxPyTimer         "self._setCallbackInfo(self, Timer)"
+    %pythonAppend wxPyTimer         "self._setCallbackInfo(self, Timer)"
 
     // if you don't call SetOwner() or provide an owner in the contstructor
     // then you must override Notify() inorder to receive the timer
@@ -78,6 +78,10 @@ public:
 
     // return True if the timer is one shot
     bool IsOneShot() const;
+
+    // return the timer ID
+    int GetId() const;
+   
 };