%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"
const wxPalette& palette = wxNullPalette);
%pythonAppend wxGLCanvas "val._setOORInfo(val)"
- %name(GLCanvasWithContext)
+ %RenameCtor(GLCanvasWithContext,
wxGLCanvas( wxWindow *parent,
const wxGLContext *shared = NULL,
wxWindowID id = -1,
long style = 0,
const wxString& name = wxPyGLCanvasNameStr,
int *attribList = NULL,
- const wxPalette& palette = wxNullPalette );
+ const wxPalette& palette = wxNullPalette ));
void SetCurrent();