]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/thrimpl.cpp
listctrl generic is used outside of osx-carbon
[wxWidgets.git] / include / wx / thrimpl.cpp
index ba4aa31bb72e9ba0a3dae9a1a900e28d7426da40..56ddace30addc241be5f0e05ef4220a90ca4ba66 100644 (file)
@@ -44,6 +44,14 @@ wxMutexError wxMutex::Lock()
     return m_internal->Lock();
 }
 
+wxMutexError wxMutex::LockTimeout(unsigned long ms)
+{
+    wxCHECK_MSG( m_internal, wxMUTEX_INVALID,
+                 _T("wxMutex::Lock(): not initialized") );
+
+    return m_internal->Lock(ms);
+}
+
 wxMutexError wxMutex::TryLock()
 {
     wxCHECK_MSG( m_internal, wxMUTEX_INVALID,
@@ -328,3 +336,13 @@ wxSemaError wxSemaphore::Post()
     return m_internal->Post();
 }
 
+// ----------------------------------------------------------------------------
+// wxThread
+// ----------------------------------------------------------------------------
+
+#include "wx/utils.h"
+
+void wxThread::Sleep(unsigned long milliseconds)
+{
+    wxMilliSleep(milliseconds);
+}