reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-10-17 20:49:16 +00:00
parent d4ca60e8a6
commit 7753ca6bed
3 changed files with 9 additions and 18 deletions

View File

@ -47359,7 +47359,7 @@ fail:
SWIGINTERN PyObject *_wrap_SizerItem_GetSpacer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
wxSize *result = 0 ;
wxSize result;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
@ -47373,14 +47373,11 @@ SWIGINTERN PyObject *_wrap_SizerItem_GetSpacer(PyObject *SWIGUNUSEDPARM(self), P
arg1 = reinterpret_cast< wxSizerItem * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
wxSize const &_result_ref = (arg1)->GetSpacer();
result = (wxSize *) &_result_ref;
}
result = (arg1)->GetSpacer();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;

View File

@ -47358,7 +47358,7 @@ fail:
SWIGINTERN PyObject *_wrap_SizerItem_GetSpacer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
wxSize *result = 0 ;
wxSize result;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
@ -47372,14 +47372,11 @@ SWIGINTERN PyObject *_wrap_SizerItem_GetSpacer(PyObject *SWIGUNUSEDPARM(self), P
arg1 = reinterpret_cast< wxSizerItem * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
wxSize const &_result_ref = (arg1)->GetSpacer();
result = (wxSize *) &_result_ref;
}
result = (arg1)->GetSpacer();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;

View File

@ -47384,7 +47384,7 @@ fail:
SWIGINTERN PyObject *_wrap_SizerItem_GetSpacer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
wxSize *result = 0 ;
wxSize result;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
@ -47398,14 +47398,11 @@ SWIGINTERN PyObject *_wrap_SizerItem_GetSpacer(PyObject *SWIGUNUSEDPARM(self), P
arg1 = reinterpret_cast< wxSizerItem * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
wxSize const &_result_ref = (arg1)->GetSpacer();
result = (wxSize *) &_result_ref;
}
result = (arg1)->GetSpacer();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;