X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2ca375c5620209d77a88d2d378bdcdedbc82e7e..69659fd770f615210efac4b4fa741b3ad6223616:/src/common/timerimpl.cpp 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); }