Changed (again) how the Python global interpreter lock is handled as
well as the Python thread state. This time it works on SMP machines without barfing and is also still compatible with Python debuggers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -107,8 +107,6 @@ public:
|
||||
void SetVendorName(const wxString& name);
|
||||
void SetUseBestVisual(bool flag);
|
||||
wxIcon GetStdIcon(int which);
|
||||
|
||||
|
||||
};
|
||||
|
||||
%inline %{
|
||||
@@ -168,6 +166,8 @@ static wxPyCoreAPI API = {
|
||||
SWIG_addvarlink,
|
||||
SWIG_newvarlink,
|
||||
|
||||
wxPyBeginAllowThreads,
|
||||
wxPyEndAllowThreads,
|
||||
wxPyBeginBlockThreads,
|
||||
wxPyEndBlockThreads,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user