reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-01-25 23:36:36 +00:00
parent 69d4bbb974
commit 3d642f975d
9 changed files with 345 additions and 24 deletions

View File

@@ -7273,7 +7273,7 @@ SWIGINTERN PyObject *_wrap_Rect_Inflate(PyObject *SWIGUNUSEDPARM(self), PyObject
wxRect *arg1 = (wxRect *) 0 ;
int arg2 ;
int arg3 ;
wxRect *result = 0 ;
wxRect result;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
@@ -7304,13 +7304,10 @@ SWIGINTERN PyObject *_wrap_Rect_Inflate(PyObject *SWIGUNUSEDPARM(self), PyObject
}
arg3 = static_cast< int >(val3);
{
{
wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
result = (wxRect *) &_result_ref;
}
result = (arg1)->Inflate(arg2,arg3);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;