]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/helpers.cpp
Some compilation fixes
[wxWidgets.git] / wxPython / src / helpers.cpp
index b7c8510f85eac14c30fb7563ad600bae5daca792..bb76934d3ab5fb3222b320a0f2a1527294202170 100644 (file)
@@ -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( &current ) ;
+    return (unsigned long)current;
 #endif
 }