X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5c5dad5950a43edbb9a4e7144f44b8f3bd6bf80..4a6619bb4c8d90e7acfaf5291e326aa26897caa4:/include/wx/timer.h diff --git a/include/wx/timer.h b/include/wx/timer.h index 1707d8346e..a16209c387 100644 --- a/include/wx/timer.h +++ b/include/wx/timer.h @@ -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; }