]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/timerimpl.cpp
Borland has only lfind
[wxWidgets.git] / src / common / timerimpl.cpp
index d952af816f79d9d2d44e46745f4cacc33b7bc140..3f94268d218ef9f88d6a81870df78c398ab2a0f5 100644 (file)
@@ -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);
 }