X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4268f79856cbe66b8ad31b86ee183879cede98e3..7cdecac3b7597a3cbb9155d5ee46b852293d8c26:/wxPython/src/helpers.cpp diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index b7c8510f85..bb76934d3a 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -123,7 +123,7 @@ void __wxPreStart() { #ifdef __WXMSW__ - wxCrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF); +// wxCrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF); #endif #ifdef WXP_WITH_THREAD @@ -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 }