fixed bug in wxSemaphore::WaitTimeout() which was calling the wrong wxCondition::Wait() (bug 642226 and patch 648859)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2c62b3c3a1
commit
de628f984b
@ -532,7 +532,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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user