"The Object Graphics Library provides for simple drawing and manipulation
of 2D objects. (This version is deprecated, please use wx.lib.ogl instead.)"
%enddef
-%module(docstring=DOCSTRING) ogl
+
+%module(package="wx", docstring=DOCSTRING) ogl
%{
#include "wx/wxPython/wxPython.h"
%pythoncode {
import warnings
- warnings.warn("This module is deprecated. Please use the wx.lib.ogl pacakge instead.",
+ warnings.warn("This module is deprecated. Please use the wx.lib.ogl package instead.",
DeprecationWarning, stacklevel=2)
}
//---------------------------------------------------------------------------
+MustHaveApp(wxOGLInitialize);
void wxOGLInitialize();
+
+MustHaveApp(wxOGLCleanUp);
void wxOGLCleanUp();