X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ab5b2e6e0a9db7f2493e5581e5932169b819e04..49bffb1482cd2a6a30b38280f6c9bffc72dbfe42:/wxPython/contrib/glcanvas/glcanvas.i diff --git a/wxPython/contrib/glcanvas/glcanvas.i b/wxPython/contrib/glcanvas/glcanvas.i index 197387eba8..8e1596eecc 100644 --- a/wxPython/contrib/glcanvas/glcanvas.i +++ b/wxPython/contrib/glcanvas/glcanvas.i @@ -24,7 +24,8 @@ //--------------------------------------------------------------------------- %import core.i -%pythoncode { wx = core } +%pythoncode { wx = _core } +%pythoncode { __docfilter__ = wx.__DocFilter(globals()) } MAKE_CONST_WXSTRING2(GLCanvasNameStr, wxT("GLCanvas")); @@ -116,7 +117,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 +125,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,