From caa36aab8425422041c34b9cc573a2e0189db6ed Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 24 Sep 2003 01:54:39 +0000 Subject: [PATCH 1/1] undid accidental change to assert in Start() during last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/timer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/timer.cpp b/src/msw/timer.cpp index 09f830cd95..1ebd9535cf 100644 --- a/src/msw/timer.cpp +++ b/src/msw/timer.cpp @@ -125,10 +125,10 @@ wxTimer::~wxTimer() bool wxTimer::Start(int milliseconds, bool oneShot) { - wxCHECK_MSG( m_milli > 0, false, wxT("invalid value for timer timeour") ); - (void)wxTimerBase::Start(milliseconds, oneShot); + wxCHECK_MSG( m_milli > 0, false, wxT("invalid value for timer timeour") ); + // find a window for SetTimer(): it should be a valid HWND owned by this // thread (even if we had a non NULL m_hwnd before, reset it in case the // owner has changed) -- 2.45.2