reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-05-09 19:19:32 +00:00
parent 1f9758256c
commit 71237536b6
15 changed files with 144 additions and 336 deletions

View File

@@ -37813,15 +37813,11 @@ static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyO
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
#if wxUSE_UNICODE
PyObject* str = PyObject_Unicode(item);
#else
PyObject* str = PyObject_Str(item);
#endif
wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
arg2->Add(Py2wxString(str));
arg2->Add(*s);
delete s;
Py_DECREF(item);
Py_DECREF(str);
}
}
{