%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:
@@ -135,8 +135,8 @@ public:
|
||||
|
||||
class wxDynamicSashWindow : public wxWindow {
|
||||
public:
|
||||
%addtofunc wxDynamicSashWindow "self._setOORInfo(self)"
|
||||
%addtofunc wxDynamicSashWindow() ""
|
||||
%pythonAppend wxDynamicSashWindow "self._setOORInfo(self)"
|
||||
%pythonAppend wxDynamicSashWindow() ""
|
||||
|
||||
wxDynamicSashWindow(wxWindow *parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
||||
@@ -174,8 +174,8 @@ enum {
|
||||
class wxEditableListBox : public wxPanel
|
||||
{
|
||||
public:
|
||||
%addtofunc wxEditableListBox "self._setOORInfo(self)"
|
||||
%addtofunc wxEditableListBox() ""
|
||||
%pythonAppend wxEditableListBox "self._setOORInfo(self)"
|
||||
%pythonAppend wxEditableListBox() ""
|
||||
|
||||
wxEditableListBox(wxWindow *parent, wxWindowID id,
|
||||
const wxString& label,
|
||||
@@ -224,8 +224,8 @@ public:
|
||||
class wxRemotelyScrolledTreeCtrl: public wxPyTreeCtrl
|
||||
{
|
||||
public:
|
||||
%addtofunc wxRemotelyScrolledTreeCtrl "self._setOORInfo(self)"
|
||||
%addtofunc wxRemotelyScrolledTreeCtrl() ""
|
||||
%pythonAppend wxRemotelyScrolledTreeCtrl "self._setOORInfo(self)"
|
||||
%pythonAppend wxRemotelyScrolledTreeCtrl() ""
|
||||
|
||||
wxRemotelyScrolledTreeCtrl(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
@@ -295,8 +295,8 @@ public:
|
||||
%name(TreeCompanionWindow) class wxPyTreeCompanionWindow: public wxWindow
|
||||
{
|
||||
public:
|
||||
%addtofunc wxPyTreeCompanionWindow "self._setOORInfo(self);self._setCallbackInfo(self, TreeCompanionWindow)"
|
||||
%addtofunc wxPyTreeCompanionWindow() ""
|
||||
%pythonAppend wxPyTreeCompanionWindow "self._setOORInfo(self);self._setCallbackInfo(self, TreeCompanionWindow)"
|
||||
%pythonAppend wxPyTreeCompanionWindow() ""
|
||||
|
||||
wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
@@ -320,8 +320,8 @@ public:
|
||||
class wxThinSplitterWindow: public wxSplitterWindow
|
||||
{
|
||||
public:
|
||||
%addtofunc wxThinSplitterWindow "self._setOORInfo(self)"
|
||||
%addtofunc wxThinSplitterWindow() ""
|
||||
%pythonAppend wxThinSplitterWindow "self._setOORInfo(self)"
|
||||
%pythonAppend wxThinSplitterWindow() ""
|
||||
|
||||
wxThinSplitterWindow(wxWindow* parent, wxWindowID id = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
@@ -343,8 +343,8 @@ public:
|
||||
class wxSplitterScrolledWindow: public wxScrolledWindow
|
||||
{
|
||||
public:
|
||||
%addtofunc wxSplitterScrolledWindow "self._setOORInfo(self)"
|
||||
%addtofunc wxSplitterScrolledWindow() ""
|
||||
%pythonAppend wxSplitterScrolledWindow "self._setOORInfo(self)"
|
||||
%pythonAppend wxSplitterScrolledWindow() ""
|
||||
|
||||
wxSplitterScrolledWindow(wxWindow* parent, wxWindowID id = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
@@ -372,8 +372,8 @@ enum wxLEDValueAlign
|
||||
class wxLEDNumberCtrl : public wxControl
|
||||
{
|
||||
public:
|
||||
%addtofunc wxLEDNumberCtrl "self._setOORInfo(self)"
|
||||
%addtofunc wxLEDNumberCtrl() ""
|
||||
%pythonAppend wxLEDNumberCtrl "self._setOORInfo(self)"
|
||||
%pythonAppend wxLEDNumberCtrl() ""
|
||||
|
||||
wxLEDNumberCtrl(wxWindow *parent, wxWindowID id = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
@@ -485,8 +485,8 @@ IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
|
||||
%name(TreeListCtrl) class wxPyTreeListCtrl : public wxControl
|
||||
{
|
||||
public:
|
||||
%addtofunc wxPyTreeListCtrl "self._setOORInfo(self);self._setCallbackInfo(self, TreeListCtrl)"
|
||||
%addtofunc wxPyTreeListCtrl() ""
|
||||
%pythonAppend wxPyTreeListCtrl "self._setOORInfo(self);self._setCallbackInfo(self, TreeListCtrl)"
|
||||
%pythonAppend wxPyTreeListCtrl() ""
|
||||
|
||||
wxPyTreeListCtrl(wxWindow *parent, wxWindowID id = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
|
@@ -116,7 +116,7 @@ enum {
|
||||
|
||||
class wxGLCanvas : public wxWindow {
|
||||
public:
|
||||
%addtofunc wxGLCanvas "self._setOORInfo(self)"
|
||||
%pythonAppend wxGLCanvas "self._setOORInfo(self)"
|
||||
wxGLCanvas(wxWindow *parent, wxWindowID id = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize, long style = 0,
|
||||
@@ -124,7 +124,7 @@ public:
|
||||
int *attribList = NULL,
|
||||
const wxPalette& palette = wxNullPalette);
|
||||
|
||||
%addtofunc wxGLCanvas "val._setOORInfo(val)"
|
||||
%pythonAppend wxGLCanvas "val._setOORInfo(val)"
|
||||
%name(GLCanvasWithContext)
|
||||
wxGLCanvas( wxWindow *parent,
|
||||
const wxGLContext *shared = NULL,
|
||||
|
@@ -75,7 +75,7 @@ enum wxIEHtmlRefreshLevel {
|
||||
class wxIEHtmlWin : public wxWindow /* wxActiveX */
|
||||
{
|
||||
public:
|
||||
%addtofunc wxIEHtmlWin "self._setOORInfo(self)"
|
||||
%pythonAppend wxIEHtmlWin "self._setOORInfo(self)"
|
||||
|
||||
wxIEHtmlWin(wxWindow * parent, wxWindowID id = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -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,
|
||||
|
@@ -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();
|
||||
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -140,7 +140,7 @@ IMP_PYCALLBACK_BOOL_NODE_pure(wxPyXmlResourceHandler, wxXmlResourceHandler, CanH
|
||||
|
||||
%name(XmlResourceHandler) class wxPyXmlResourceHandler : public wxObject {
|
||||
public:
|
||||
%addtofunc wxPyXmlResourceHandler "self._setCallbackInfo(self, XmlResourceHandler)"
|
||||
%pythonAppend wxPyXmlResourceHandler "self._setCallbackInfo(self, XmlResourceHandler)"
|
||||
wxPyXmlResourceHandler() : wxXmlResourceHandler() {}
|
||||
//~wxPyXmlResourceHandler();
|
||||
|
||||
|
@@ -44,9 +44,9 @@ class wxXmlResource : public wxObject
|
||||
{
|
||||
public:
|
||||
|
||||
%addtofunc wxXmlResource(const wxString& filemask, int flags) "self.InitAllHandlers()"
|
||||
%pythonAppend wxXmlResource(const wxString& filemask, int flags) "self.InitAllHandlers()"
|
||||
|
||||
%addtofunc wxXmlResource(int flags) "val.InitAllHandlers()"
|
||||
%pythonAppend wxXmlResource(int flags) "val.InitAllHandlers()"
|
||||
|
||||
// Ctors.
|
||||
// Flags: wxXRC_USE_LOCALE
|
||||
|
@@ -34,7 +34,7 @@ IMP_PYCALLBACK_OBJECT_STRING_pure(wxPyXmlSubclassFactory, wxXmlSubclassFactory,
|
||||
|
||||
%name(XmlSubclassFactory)class wxPyXmlSubclassFactory {
|
||||
public:
|
||||
%addtofunc wxPyXmlSubclassFactory "self._setCallbackInfo(self, XmlSubclassFactory)"
|
||||
%pythonAppend wxPyXmlSubclassFactory "self._setCallbackInfo(self, XmlSubclassFactory)"
|
||||
wxPyXmlSubclassFactory();
|
||||
void _setCallbackInfo(PyObject* self, PyObject* _class);
|
||||
};
|
||||
|
Reference in New Issue
Block a user