%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"
//---------------------------------------------------------------------------
+MustHaveApp(wxGLContext);
+
class wxGLContext : public wxObject {
public:
#ifndef __WXMAC__
+MustHaveApp(wxGLCanvas);
+
class wxGLCanvas : public wxWindow {
public:
%pythonAppend wxGLCanvas "self._setOORInfo(self)"