From: Vadim Zeitlin Date: Wed, 24 Sep 2003 01:54:39 +0000 (+0000) Subject: undid accidental change to assert in Start() during last commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/caa36aab8425422041c34b9cc573a2e0189db6ed 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 --- 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)