Some tweaks and updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-09-10 06:23:48 +00:00
parent 922dc97681
commit 1afc06c2d8
32 changed files with 1260 additions and 764 deletions

View File

@@ -247,13 +247,9 @@ public:
}
~wxPyTreeItemData() {
#ifdef WXP_WITH_THREAD
PyEval_RestoreThread(wxPyEventThreadState);
#endif
bool doSave = wxPyRestoreThread();
Py_DECREF(m_obj);
#ifdef WXP_WITH_THREAD
PyEval_SaveThread();
#endif
wxPySaveThread(doSave);
}
PyObject* GetData() {