]> git.saurik.com Git - wxWidgets.git/commitdiff
reSWIGged
authorRobin Dunn <robin@alldunn.com>
Fri, 7 May 2004 17:14:15 +0000 (17:14 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 7 May 2004 17:14:15 +0000 (17:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 files changed:
wxPython/contrib/stc/gtk/stc.py
wxPython/contrib/stc/mac/stc.py
wxPython/contrib/stc/msw/stc.py
wxPython/contrib/xrc/gtk/xrc_wrap.cpp
wxPython/contrib/xrc/mac/xrc_wrap.cpp
wxPython/contrib/xrc/msw/xrc_wrap.cpp
wxPython/src/gtk/_misc.py
wxPython/src/gtk/_windows_wrap.cpp
wxPython/src/mac/_misc.py
wxPython/src/mac/_windows_wrap.cpp
wxPython/src/msw/_misc.py
wxPython/src/msw/_windows_wrap.cpp

index 90b8550b78ac72b56530ebaa346a7ae4f0038509..554c1a83ba124ff358c5c6ece5566deb4d1a4480 100644 (file)
@@ -1985,11 +1985,7 @@ class StyledTextCtrl(_core.Control):
         return _stc.StyledTextCtrl_DocumentEndExtend(*args, **kwargs)
 
     def PageUp(*args, **kwargs):
-        """
-        PageUp(self)
-
-        This is just a wrapper for ScrollPages(-1).
-        """
+        """PageUp(self)"""
         return _stc.StyledTextCtrl_PageUp(*args, **kwargs)
 
     def PageUpExtend(*args, **kwargs):
index 90b8550b78ac72b56530ebaa346a7ae4f0038509..554c1a83ba124ff358c5c6ece5566deb4d1a4480 100644 (file)
@@ -1985,11 +1985,7 @@ class StyledTextCtrl(_core.Control):
         return _stc.StyledTextCtrl_DocumentEndExtend(*args, **kwargs)
 
     def PageUp(*args, **kwargs):
-        """
-        PageUp(self)
-
-        This is just a wrapper for ScrollPages(-1).
-        """
+        """PageUp(self)"""
         return _stc.StyledTextCtrl_PageUp(*args, **kwargs)
 
     def PageUpExtend(*args, **kwargs):
index 554c1a83ba124ff358c5c6ece5566deb4d1a4480..67d60bb56231d3ed37db6fa5645f6c976c925796 100644 (file)
@@ -1993,11 +1993,7 @@ class StyledTextCtrl(_core.Control):
         return _stc.StyledTextCtrl_PageUpExtend(*args, **kwargs)
 
     def PageDown(*args, **kwargs):
-        """
-        PageDown(self)
-
-        This is just a wrapper for ScrollPages(1).
-        """
+        """PageDown(self)"""
         return _stc.StyledTextCtrl_PageDown(*args, **kwargs)
 
     def PageDownExtend(*args, **kwargs):
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;
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;
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;
index 4a9a226e6bdb51ac3619a74308649ca0e4e1bad2..a221887ce536d16d264d23bb55859cba2bb2a804 100644 (file)
@@ -914,6 +914,8 @@ class PyTipProvider(TipProvider):
         self.this = newobj.this
         self.thisown = 1
         del newobj.thisown
+        self._setCallbackInfo(self, PyTipProvider)
+
     def _setCallbackInfo(*args, **kwargs):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _misc_.PyTipProvider__setCallbackInfo(*args, **kwargs)
@@ -4829,6 +4831,8 @@ class DropSource(object):
         self.this = newobj.this
         self.thisown = 1
         del newobj.thisown
+        self._setCallbackInfo(self, DropSource, 0)
+
     def _setCallbackInfo(*args, **kwargs):
         """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
         return _misc_.DropSource__setCallbackInfo(*args, **kwargs)
index 6c39df9739e1a3cffe5a1ae39e93c9984a6ede7b..add78b74b89851a48c637215be415352e5a2e550 100644 (file)
@@ -1332,7 +1332,9 @@ static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwarg
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     {
         if (temp6)
         delete arg6;
@@ -1362,7 +1364,9 @@ static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kw
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     return resultobj;
     fail:
     return NULL;
@@ -4008,7 +4012,9 @@ static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwar
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     {
         if (temp3)
         delete arg3;
@@ -4046,7 +4052,9 @@ static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *k
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     return resultobj;
     fail:
     return NULL;
index d233be32fd12009b714b3377a10d7c10c94ee5b4..df382a65388980f21b6f354175250095e9007404 100644 (file)
@@ -914,6 +914,8 @@ class PyTipProvider(TipProvider):
         self.this = newobj.this
         self.thisown = 1
         del newobj.thisown
+        self._setCallbackInfo(self, PyTipProvider)
+
     def _setCallbackInfo(*args, **kwargs):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _misc_.PyTipProvider__setCallbackInfo(*args, **kwargs)
@@ -4837,6 +4839,8 @@ class DropSource(object):
         self.this = newobj.this
         self.thisown = 1
         del newobj.thisown
+        self._setCallbackInfo(self, DropSource, 0)
+
     def _setCallbackInfo(*args, **kwargs):
         """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
         return _misc_.DropSource__setCallbackInfo(*args, **kwargs)
index e4c6f24698e72edce91a8238155be604f950b140..23c605df1428eda0ec23b2b1fd974120eeeeede0 100644 (file)
@@ -1327,7 +1327,9 @@ static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwarg
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     {
         if (temp6)
         delete arg6;
@@ -1357,7 +1359,9 @@ static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kw
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     return resultobj;
     fail:
     return NULL;
@@ -4122,7 +4126,9 @@ static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwar
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     {
         if (temp3)
         delete arg3;
@@ -4160,7 +4166,9 @@ static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *k
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     return resultobj;
     fail:
     return NULL;
index d233be32fd12009b714b3377a10d7c10c94ee5b4..df382a65388980f21b6f354175250095e9007404 100644 (file)
@@ -914,6 +914,8 @@ class PyTipProvider(TipProvider):
         self.this = newobj.this
         self.thisown = 1
         del newobj.thisown
+        self._setCallbackInfo(self, PyTipProvider)
+
     def _setCallbackInfo(*args, **kwargs):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _misc_.PyTipProvider__setCallbackInfo(*args, **kwargs)
@@ -4837,6 +4839,8 @@ class DropSource(object):
         self.this = newobj.this
         self.thisown = 1
         del newobj.thisown
+        self._setCallbackInfo(self, DropSource, 0)
+
     def _setCallbackInfo(*args, **kwargs):
         """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
         return _misc_.DropSource__setCallbackInfo(*args, **kwargs)
index 3a492f8f6653985dd6f46b3a1575bc5defe32219..25a64cbbf2cdf0733d1f4f2269b06974b76f1ec7 100644 (file)
@@ -1332,7 +1332,9 @@ static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwarg
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     {
         if (temp6)
         delete arg6;
@@ -1362,7 +1364,9 @@ static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kw
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     return resultobj;
     fail:
     return NULL;
@@ -4070,7 +4074,9 @@ static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwar
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     {
         if (temp3)
         delete arg3;
@@ -4108,7 +4114,9 @@ static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *k
         wxPyEndAllowThreads(__tstate);
         if (PyErr_Occurred()) SWIG_fail;
     }
-    resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
+    {
+        resultobj = wxPyMake_wxObject(result); 
+    }
     return resultobj;
     fail:
     return NULL;