X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..ed7fdb860627d516ad32f9f01d14146012220b4a:/wxPython/contrib/glcanvas/glcanvas.i diff --git a/wxPython/contrib/glcanvas/glcanvas.i b/wxPython/contrib/glcanvas/glcanvas.i index ab3dd14b29..a8f7da4d85 100644 --- a/wxPython/contrib/glcanvas/glcanvas.i +++ b/wxPython/contrib/glcanvas/glcanvas.i @@ -14,7 +14,8 @@ %define DOCSTRING "`GLCanvas` provides an OpenGL Context on a `wx.Window`." %enddef -%module(docstring=DOCSTRING) glcanvas + +%module(package="wx", docstring=DOCSTRING) glcanvas %{ #include "wx/wxPython/wxPython.h" @@ -133,7 +134,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, @@ -142,7 +143,7 @@ public: long style = 0, const wxString& name = wxPyGLCanvasNameStr, int *attribList = NULL, - const wxPalette& palette = wxNullPalette ); + const wxPalette& palette = wxNullPalette )); void SetCurrent();