]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/oglcanvas.i
compilation fix
[wxWidgets.git] / wxPython / contrib / ogl / oglcanvas.i
index 0794f68e2b4c8cd7cb12bf00e8e1671c8ada4fde..38507e443f7d64c355a75e4eeb4106aa265ab04e 100644 (file)
@@ -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);