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:
parent
98fb9b7119
commit
0bdc5dd6f3
@ -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; }
|
||||
|
@ -78,6 +78,10 @@ public:
|
||||
|
||||
// return True if the timer is one shot
|
||||
bool IsOneShot() const;
|
||||
|
||||
// return the timer ID
|
||||
int GetId() const;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user