X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2eb030f9e79819015f714ba5e4054b432fa6837..92515dfc1c90af8541d91fc551bfe9ce5782a567:/wxPython/contrib/glcanvas/glcanvas.i diff --git a/wxPython/contrib/glcanvas/glcanvas.i b/wxPython/contrib/glcanvas/glcanvas.i index 5c44932c06..f538920e02 100644 --- a/wxPython/contrib/glcanvas/glcanvas.i +++ b/wxPython/contrib/glcanvas/glcanvas.i @@ -35,9 +35,6 @@ MAKE_CONST_WXSTRING2(GLCanvasNameStr, wxT("GLCanvas")); MAKE_CONST_WXSTRING_NOSWIG(EmptyString); - -%include _glcanvas_rename.i - //--------------------------------------------------------------------------- class wxPalette; @@ -134,7 +131,7 @@ public: const wxPalette& palette = wxNullPalette); %pythonAppend wxGLCanvas "val._setOORInfo(val)" - %name(GLCanvasWithContext) + %RenameCtor(GLCanvasWithContext, wxGLCanvas( wxWindow *parent, const wxGLContext *shared = NULL, wxWindowID id = -1, @@ -143,7 +140,7 @@ public: long style = 0, const wxString& name = wxPyGLCanvasNameStr, int *attribList = NULL, - const wxPalette& palette = wxNullPalette ); + const wxPalette& palette = wxNullPalette )); void SetCurrent();