reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
{
|
||||
|
Reference in New Issue
Block a user