reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12054,6 +12054,7 @@ static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject
|
||||
PyObject *resultobj;
|
||||
wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
|
||||
wxArrayInt *arg2 = 0 ;
|
||||
bool temp2 = False ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -12068,6 +12069,7 @@ static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject
|
||||
SWIG_fail;
|
||||
}
|
||||
arg2 = new wxArrayInt;
|
||||
temp2 = True;
|
||||
int i, len=PySequence_Length(obj1);
|
||||
for (i=0; i<len; i++) {
|
||||
PyObject* item = PySequence_GetItem(obj1, i);
|
||||
@@ -12086,12 +12088,12 @@ static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
{
|
||||
if (arg2) delete arg2;
|
||||
if (temp2) delete arg2;
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
{
|
||||
if (arg2) delete arg2;
|
||||
if (temp2) delete arg2;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user