reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-10-07 20:22:46 +00:00
parent 00b9c8672f
commit 1fc3b23ad7
5 changed files with 55 additions and 5 deletions

View File

@@ -22244,7 +22244,7 @@ static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObjec
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
int arg3 ;
int arg4 ;
int arg4 = (int) -1 ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@@ -22254,15 +22254,17 @@ static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObjec
(char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
arg2 = (long)SWIG_As_long(obj1);
if (PyErr_Occurred()) SWIG_fail;
arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
if (obj3) {
arg4 = (int)SWIG_As_int(obj3);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);