X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edf2f43eade1ec5d3c6cbd96cb13551acabc9a99..8dba8632c5bcd64724e2e9e2d40e295555a0cb86:/wxPython/contrib/ogl/oglcanvas.i diff --git a/wxPython/contrib/ogl/oglcanvas.i b/wxPython/contrib/ogl/oglcanvas.i index 0794f68e2b..38507e443f 100644 --- a/wxPython/contrib/ogl/oglcanvas.i +++ b/wxPython/contrib/ogl/oglcanvas.i @@ -116,11 +116,9 @@ public: const wxSize& size = wxDefaultSize, long style = wxBORDER); - void _setSelf(PyObject* self, PyObject* _class); - %pragma(python) addtomethod = "__init__:self._setSelf(self, wxPyShapeCanvas)" - - %pragma(python) addtomethod = "__init__:#wx._StdWindowCallbacks(self)" - %pragma(python) addtomethod = "__init__:#wx._StdOnScrollCallbacks(self)" + void _setCallbackInfo(PyObject* self, PyObject* _class); + %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxPyShapeCanvas)" + %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" void AddShape(wxPyShape *shape, wxPyShape *addAfter = NULL);