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
This commit is contained in:
@@ -125,10 +125,10 @@ wxTimer::~wxTimer()
|
|||||||
|
|
||||||
bool wxTimer::Start(int milliseconds, bool oneShot)
|
bool wxTimer::Start(int milliseconds, bool oneShot)
|
||||||
{
|
{
|
||||||
wxCHECK_MSG( m_milli > 0, false, wxT("invalid value for timer timeour") );
|
|
||||||
|
|
||||||
(void)wxTimerBase::Start(milliseconds, oneShot);
|
(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
|
// 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
|
// thread (even if we had a non NULL m_hwnd before, reset it in case the
|
||||||
// owner has changed)
|
// owner has changed)
|
||||||
|
Reference in New Issue
Block a user