Some updates and fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-02-13 06:35:39 +00:00
parent 854862f58d
commit 26b9cf270e
18 changed files with 189 additions and 148 deletions

View File

@@ -412,6 +412,7 @@ public:
//size_t GetSelections(wxArrayTreeItemIds& selection);
%addmethods {
PyObject* GetSelections() {
bool doSave = wxPyRestoreThread();
PyObject* rval = PyList_New(0);
wxArrayTreeItemIds array;
size_t num, x;
@@ -421,6 +422,7 @@ public:
"wxTreeItemId");
PyList_Append(rval, item);
}
wxPySaveThread(doSave);
return rval;
}
}