]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/thread.cpp
Compile corrections
[wxWidgets.git] / src / msw / thread.cpp
index 8320440d20a1ac1b239db21ab8b3d29bdfbf25df..b654353bfce9748f5248201b11732b31b2737a8e 100644 (file)
@@ -647,6 +647,11 @@ int wxThread::GetCPUCount()
     return si.dwNumberOfProcessors;
 }
 
+unsigned long wxThread::GetCurrentId()
+{
+    return (unsigned long)::GetCurrentThreadId();
+}
+
 bool wxThread::SetConcurrency(size_t level)
 {
     wxASSERT_MSG( IsMain(), _T("should only be called from the main thread") );