]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
Now scaling doesn't scale GetTextExtent() anymore. This
[wxWidgets.git] / src / unix / threadpsx.cpp
index b4b91685b9d24b9eb12619421cda46bc92fbbb92..73348a50ce7ef4500ef903e3e7371541d419b880 100644 (file)
@@ -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;
     }