// wxWin headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "timerbase.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#if wxUSE_TIMER
#ifndef WX_PRECOMP
+ #include "wx/timer.h"
#endif
// ----------------------------------------------------------------------------
wxCHECK_RET( m_owner, _T("wxTimer::Notify() should be overridden.") );
wxTimerEvent event(m_idTimer, m_milli);
+ event.SetEventObject(this);
(void)m_owner->ProcessEvent(event);
}
m_oneShot = oneShot;
- return TRUE;
+ return true;
}
#endif // wxUSE_TIMER