%addtofunc --> %pythonAppend

Also used %pythonPrepend to provide backwards compatibility for a few
parameter name changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-01-31 01:18:37 +00:00
parent d7f8258414
commit 2b9048c56f
65 changed files with 313 additions and 297 deletions

View File

@@ -81,7 +81,7 @@ public:
class wxPyShapeEvtHandler : public wxObject {
public:
%addtofunc wxPyShapeEvtHandler "self._setOORandCallbackInfo(PyShapeEvtHandler)"
%pythonAppend wxPyShapeEvtHandler "self._setOORandCallbackInfo(PyShapeEvtHandler)"
wxPyShapeEvtHandler(wxPyShapeEvtHandler *prev = NULL,
wxPyShape *shape = NULL);
@@ -145,7 +145,7 @@ public:
class wxPyShape : public wxPyShapeEvtHandler {
public:
%addtofunc wxPyShape "self._setOORandCallbackInfo(PyShapeEvtHandler)"
%pythonAppend wxPyShape "self._setOORandCallbackInfo(PyShapeEvtHandler)"
wxPyShape(wxPyShapeCanvas *can = NULL);

View File

@@ -101,7 +101,7 @@ public:
class wxPyShapeCanvas : public wxScrolledWindow {
public:
%addtofunc wxPyShapeEvtHandler "self._setOORandCallbackInfo(PyShapeEvtHandler)"
%pythonAppend wxPyShapeEvtHandler "self._setOORandCallbackInfo(PyShapeEvtHandler)"
wxPyShapeCanvas(wxWindow* parent = NULL, wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,

View File

@@ -124,7 +124,7 @@ public:
class wxPyRectangleShape : public wxPyShape {
public:
%addtofunc wxPyRectangleShape "self._setOORandCallbackInfo(PyRectangleShape)"
%pythonAppend wxPyRectangleShape "self._setOORandCallbackInfo(PyRectangleShape)"
wxPyRectangleShape(double width = 0.0, double height = 0.0);
void _setCallbackInfo(PyObject* self, PyObject* _class);
@@ -172,7 +172,7 @@ public:
class wxPyControlPoint : public wxPyRectangleShape {
public:
%addtofunc wxPyControlPoint "self._setOORandCallbackInfo(PyControlPoint)"
%pythonAppend wxPyControlPoint "self._setOORandCallbackInfo(PyControlPoint)"
wxPyControlPoint(wxPyShapeCanvas *the_canvas = NULL,
wxPyShape *object = NULL,
@@ -223,7 +223,7 @@ public:
class wxPyBitmapShape : public wxPyRectangleShape {
public:
%addtofunc wxPyBitmapShape "self._setOORandCallbackInfo(PyBitmapShape)"
%pythonAppend wxPyBitmapShape "self._setOORandCallbackInfo(PyBitmapShape)"
wxPyBitmapShape();
@@ -273,7 +273,7 @@ public:
class wxPyDrawnShape : public wxPyRectangleShape {
public:
%addtofunc wxPyDrawnShape "self._setOORandCallbackInfo(PyDrawnShape)"
%pythonAppend wxPyDrawnShape "self._setOORandCallbackInfo(PyDrawnShape)"
wxPyDrawnShape();
@@ -378,7 +378,7 @@ public:
class wxPyCompositeShape : public wxPyRectangleShape {
public:
%addtofunc wxPyCompositeShape "self._setOORandCallbackInfo(PyCompositeShape)"
%pythonAppend wxPyCompositeShape "self._setOORandCallbackInfo(PyCompositeShape)"
wxPyCompositeShape();
@@ -476,7 +476,7 @@ public:
class wxPyDividedShape : public wxPyRectangleShape {
public:
%addtofunc wxPyDividedShape "self._setOORandCallbackInfo(PyDividedShape)"
%pythonAppend wxPyDividedShape "self._setOORandCallbackInfo(PyDividedShape)"
wxPyDividedShape(double width = 0.0, double height = 0.0);
@@ -526,7 +526,7 @@ public:
class wxPyDivisionShape : public wxPyCompositeShape {
public:
%addtofunc wxPyDivisionShape "self._setOORandCallbackInfo(PyDivisionShape)"
%pythonAppend wxPyDivisionShape "self._setOORandCallbackInfo(PyDivisionShape)"
wxPyDivisionShape();

View File

@@ -22,7 +22,7 @@
class wxPyEllipseShape : public wxPyShape {
public:
%addtofunc wxPyEllipseShape "self._setOORandCallbackInfo(PyEllipseShape)"
%pythonAppend wxPyEllipseShape "self._setOORandCallbackInfo(PyEllipseShape)"
wxPyEllipseShape(double width = 0.0, double height = 0.0);
@@ -66,7 +66,7 @@ public:
class wxPyCircleShape : public wxPyEllipseShape {
public:
%addtofunc wxPyCircleShape "self._setOORandCallbackInfo(PyCircleShape)"
%pythonAppend wxPyCircleShape "self._setOORandCallbackInfo(PyCircleShape)"
wxPyCircleShape(double width = 0.0);
@@ -141,7 +141,7 @@ public:
class wxPyLineShape : public wxPyShape {
public:
%addtofunc wxPyLineShape "self._setOORandCallbackInfo(PyLineShape)"
%pythonAppend wxPyLineShape "self._setOORandCallbackInfo(PyLineShape)"
wxPyLineShape();
@@ -254,7 +254,7 @@ public:
class wxPyPolygonShape : public wxPyShape {
public:
%addtofunc wxPyPolygonShape "self._setOORandCallbackInfo(PyPolygonShape)"
%pythonAppend wxPyPolygonShape "self._setOORandCallbackInfo(PyPolygonShape)"
wxPyPolygonShape();
@@ -364,7 +364,7 @@ public:
class wxPyTextShape : public wxPyRectangleShape {
public:
%addtofunc wxPyTextShape "self._setOORandCallbackInfo(PyTextShape)"
%pythonAppend wxPyTextShape "self._setOORandCallbackInfo(PyTextShape)"
wxPyTextShape(double width = 0.0, double height = 0.0);