X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..ba87052fcf1525ab43277b5509132074853c3283:/wxPython/contrib/ogl/_oglcanvas.i diff --git a/wxPython/contrib/ogl/_oglcanvas.i b/wxPython/contrib/ogl/_oglcanvas.i index 0521778e83..af80f9ad97 100644 --- a/wxPython/contrib/ogl/_oglcanvas.i +++ b/wxPython/contrib/ogl/_oglcanvas.i @@ -99,9 +99,11 @@ public: %} +MustHaveApp(wxPyShapeCanvas); + class wxPyShapeCanvas : public wxScrolledWindow { public: - %addtofunc wxPyShapeEvtHandler "self._setOORandCallbackInfo(PyShapeEvtHandler)" + %pythonAppend wxPyShapeCanvas "self._setOORandCallbackInfo(PyShapeCanvas)" wxPyShapeCanvas(wxWindow* parent = NULL, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,