]> git.saurik.com Git - wxWidgets.git/commitdiff
Give wxTimer a GetId accessor
authorRobin Dunn <robin@alldunn.com>
Wed, 3 Dec 2003 01:37:30 +0000 (01:37 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 3 Dec 2003 01:37:30 +0000 (01:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/timer.h
wxPython/src/_timer.i

index 1707d8346ef5c0f9b922c31512ee6d93667326b0..a16209c387af4dcaf7f5a908c1d2eef66a03eca8 100644 (file)
@@ -90,6 +90,10 @@ public:
     // return TRUE if the timer is one shot
     bool IsOneShot() const { return m_oneShot; }
 
+    // return the timer ID
+    int GetId() const { return m_idTimer; }
+    
+
 protected:
     // common part of all ctors
     void Init() { m_oneShot = FALSE; m_milli = 0; }
index 6d669bc44f4dc16ce39287a331cf42b2f7a423ee..b0d2dae880ae5ba676648d729498096f93f695a2 100644 (file)
@@ -78,6 +78,10 @@ public:
 
     // return True if the timer is one shot
     bool IsOneShot() const;
+
+    // return the timer ID
+    int GetId() const;
+   
 };