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:
Robin Dunn 2003-12-03 01:37:30 +00:00
parent 98fb9b7119
commit 0bdc5dd6f3
2 changed files with 8 additions and 0 deletions

View 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; }

View File

@ -78,6 +78,10 @@ public:
// return True if the timer is one shot
bool IsOneShot() const;
// return the timer ID
int GetId() const;
};