use wxCondition::WaitTimeout() instead of Wait() in wxSemaphore::WaitTimeout() as HEAD already does (closes bug 1263806)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@35230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-08-19 10:46:48 +00:00
parent 2074743902
commit d344e005a7

View File

@@ -528,7 +528,7 @@ wxSemaError wxSemaphoreInternal::WaitTimeout(unsigned long milliseconds)
return wxSEMA_TIMEOUT;
}
if ( m_cond.Wait(remainingTime) != wxCOND_NO_ERROR )
if ( m_cond.WaitTimeout(remainingTime) != wxCOND_NO_ERROR )
return wxSEMA_MISC_ERROR;
}