From d344e005a7524f356d52775045d342b92cc1acf1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 19 Aug 2005 10:46:48 +0000 Subject: [PATCH] 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 --- src/unix/threadpsx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/threadpsx.cpp b/src/unix/threadpsx.cpp index abb4f828d7..3e4c4212ef 100644 --- a/src/unix/threadpsx.cpp +++ b/src/unix/threadpsx.cpp @@ -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; }