Fixed a typemap.
Added a Python list --> wxArrayInt typemap and wxArrayInt --> Python list helper. Added wxMultiChoiceDialog. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -638,7 +638,7 @@ static PyObject *_wrap_wxEditableListBox_SetStrings(PyObject *self, PyObject *ar
|
||||
for (i=0; i<len; i++) {
|
||||
PyObject* item = PySequence_GetItem(_obj1, i);
|
||||
PyObject* str = PyObject_Str(item);
|
||||
_arg1->Add(PyString_AsString(item));
|
||||
_arg1->Add(PyString_AsString(str));
|
||||
Py_DECREF(item);
|
||||
Py_DECREF(str);
|
||||
}
|
||||
|
Reference in New Issue
Block a user