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

@@ -57,6 +57,7 @@ void wxTimerBase::Notify()
wxCHECK_RET( m_owner, _T("wxTimer::Notify() should be overridden.") );
wxTimerEvent event(m_idTimer, m_milli);
event.SetEventObject(this);
(void)m_owner->ProcessEvent(event);
}