Give wxTimer a GetId accessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -90,6 +90,10 @@ public:
|
|||||||
// return TRUE if the timer is one shot
|
// return TRUE if the timer is one shot
|
||||||
bool IsOneShot() const { return m_oneShot; }
|
bool IsOneShot() const { return m_oneShot; }
|
||||||
|
|
||||||
|
// return the timer ID
|
||||||
|
int GetId() const { return m_idTimer; }
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// common part of all ctors
|
// common part of all ctors
|
||||||
void Init() { m_oneShot = FALSE; m_milli = 0; }
|
void Init() { m_oneShot = FALSE; m_milli = 0; }
|
||||||
|
@@ -78,6 +78,10 @@ public:
|
|||||||
|
|
||||||
// return True if the timer is one shot
|
// return True if the timer is one shot
|
||||||
bool IsOneShot() const;
|
bool IsOneShot() const;
|
||||||
|
|
||||||
|
// return the timer ID
|
||||||
|
int GetId() const;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user