]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/xrc/mac/xrc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / xrc / mac / xrc_wrap.cpp
index 723abd983419d4336b03537f968ab639e271a09b..b253d2e6784b23b446b420d332db18c11ea56096 100644 (file)
@@ -1227,7 +1227,9 @@ static PyObject *_wrap_XmlResource_LoadDialog(PyObject *self, PyObject *args, Py
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 0);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     {
         if (temp3)
         delete arg3;
@@ -1325,7 +1327,9 @@ static PyObject *_wrap_XmlResource_LoadPanel(PyObject *self, PyObject *args, PyO
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 0);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     {
         if (temp3)
         delete arg3;