]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/timercmn.cpp
unused variable warning fix - move unused stuff to proper place
[wxWidgets.git] / src / common / timercmn.cpp
index ffcf0358a91f390f18a6624592d9cc31dcb27dca..5fd7fd476756316c50f25d1b302a71017564660e 100644 (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);
 }