]> git.saurik.com Git - wxWidgets.git/commitdiff
reSWIGged
authorRobin Dunn <robin@alldunn.com>
Tue, 17 Oct 2006 20:49:16 +0000 (20:49 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 17 Oct 2006 20:49:16 +0000 (20:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/gtk/_core_wrap.cpp
wxPython/src/mac/_core_wrap.cpp
wxPython/src/msw/_core_wrap.cpp

index 0a1af054895904757a3b2436c212ec4c69fc99ac..b568cb0d1d9ff532c91c4230dc0467cef0984815 100644 (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;
index 4b771303eeb707256c1d366b8550605c3a53dbb5..4df891d46b96c1e1e862b415e1ed1263ef05c45d 100644 (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;
index 3c1d6fa63305cde21c6532acfd61d65343eaba7b..4926571a021a25f20f37af6180009c4602d4bb96 100644 (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;