Don't use the PyGILState_* APIs with Python 2.3, it causes a problem
with Boa's debugger. :-( git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -544,8 +544,10 @@ void __wxPyPreStart(PyObject* moduleDict)
|
||||
#endif
|
||||
|
||||
#ifdef WXP_WITH_THREAD
|
||||
#if wxPyUSE_GIL_STATE
|
||||
PyEval_InitThreads();
|
||||
#else
|
||||
PyEval_InitThreads();
|
||||
#if !wxPyUSE_GIL_STATE
|
||||
wxPyTStates = new wxPyThreadStateArray;
|
||||
wxPyTMutex = new wxMutex;
|
||||
|
||||
|
Reference in New Issue
Block a user