X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/44f685055e6e0e591ce4211b4d8b30ad949e1497..33c5b54b68a276434b9924b3135bbd25ef0d290e:/wxPython/src/helpers.cpp?ds=inline diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index c817051fb8..bb76934d3a 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -454,7 +454,9 @@ unsigned long wxPyGetCurrentThreadId() { return (unsigned long)pthread_self(); #endif #ifdef __WXMAC__ -#error Fix this! + ThreadID current ; + MacGetCurrentThread( ¤t ) ; + return (unsigned long)current; #endif }