]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/timercmn.cpp
small optimization in wxConfigPathChanger: don't change the path if it is already...
[wxWidgets.git] / src / common / timercmn.cpp
index ffcf0358a91f390f18a6624592d9cc31dcb27dca..2b310c05996c0019731346db112fcee3f5190306 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);
 }
 
@@ -84,7 +85,7 @@ bool wxTimerBase::Start(int milliseconds, bool oneShot)
 
     m_oneShot = oneShot;
 
-    return TRUE;
+    return true;
 }
 
 #endif // wxUSE_TIMER