]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
Don't use deprecated wxArtProvider::Insert().
[wxWidgets.git] / src / unix / threadpsx.cpp
index 22fefee76d267440e3ab5aaa46abe801a26219f3..1e555050f1691944838132c4c747ecc56f7b753c 100644 (file)
@@ -475,7 +475,7 @@ wxCondError wxConditionInternal::Wait()
 
 wxCondError wxConditionInternal::WaitTimeout(unsigned long milliseconds)
 {
-    wxLongLong curtime = wxGetLocalTimeMillis();
+    wxLongLong curtime = wxGetUTCTimeMillis();
     curtime += milliseconds;
     wxLongLong temp = curtime / 1000;
     int sec = temp.GetLo();
@@ -815,7 +815,7 @@ void *wxThreadInternal::PthreadStart(wxThread *thread)
     int rc = pthread_setspecific(gs_keySelf, thread);
     if ( rc != 0 )
     {
-        wxLogSysError(rc, _("Cannot start thread: error writing TLS"));
+        wxLogSysError(rc, _("Cannot start thread: error writing TLS."));
 
         return (void *)-1;
     }