X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/44f685055e6e0e591ce4211b4d8b30ad949e1497..4b00a538378ea4976f8dd0d5a23e9fcf43b58f64:/wxPython/src/helpers.cpp 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 }