Add GetOwner accessor and fix wxRTTI inheritance for wxTimer. Set the

timer as the event object in wxTimerEvents.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-05-10 20:53:25 +00:00
parent 0fab3a5a1a
commit 313feadc84
12 changed files with 19 additions and 10 deletions

View File

@@ -58,6 +58,7 @@ public:
// same as ctor above
void SetOwner(wxEvtHandler *owner, int timerid = -1)
{ m_owner = owner; m_idTimer = timerid; }
wxEvtHandler* GetOwner() const { return m_owner; }
virtual ~wxTimerBase();