]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/helpers.cpp
SWIGged updates for wxMac
[wxWidgets.git] / wxPython / src / helpers.cpp
index c817051fb8b14501d57095031a87aa5fb04302da..bb76934d3ab5fb3222b320a0f2a1527294202170 100644 (file)
@@ -454,7 +454,9 @@ unsigned long wxPyGetCurrentThreadId() {
     return (unsigned long)pthread_self();
 #endif
 #ifdef __WXMAC__
-#error Fix this!
+    ThreadID current ;
+    MacGetCurrentThread( &current ) ;
+    return (unsigned long)current;
 #endif
 }