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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user