X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2ca375c5620209d77a88d2d378bdcdedbc82e7e..3c0f8ed2509f8b6e806af093f1b5041c61649da1:/src/common/timerimpl.cpp?ds=sidebyside diff --git a/src/common/timerimpl.cpp b/src/common/timerimpl.cpp index d952af816f..3f94268d21 100644 --- a/src/common/timerimpl.cpp +++ b/src/common/timerimpl.cpp @@ -47,8 +47,7 @@ void wxTimerImpl::SetOwner(wxEvtHandler *owner, int timerid) void wxTimerImpl::SendEvent() { - wxTimerEvent event(m_idTimer, m_milli); - event.SetEventObject(m_owner); + wxTimerEvent event(*m_timer); (void)m_owner->ProcessEvent(event); }