X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b9048c56f0aa04b2adbb7813f9698abdda15184..ad3fca675f77c2903cafd096bbda8baa2e7689ff:/wxPython/contrib/ogl/_oglcanvas.i diff --git a/wxPython/contrib/ogl/_oglcanvas.i b/wxPython/contrib/ogl/_oglcanvas.i index 7dcf7ca4f8..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: - %pythonAppend wxPyShapeEvtHandler "self._setOORandCallbackInfo(PyShapeEvtHandler)" + %pythonAppend wxPyShapeCanvas "self._setOORandCallbackInfo(PyShapeCanvas)" wxPyShapeCanvas(wxWindow* parent = NULL, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,