Added a Python port of the OGL library, deprecated the C++ wrapped version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
%define DOCSTRING
|
||||
"The Object Graphics Library provides for simple drawing and manipulation
|
||||
of 2D objects."
|
||||
of 2D objects. (This version is deprecated, please use wx.lib.ogl instead.)"
|
||||
%enddef
|
||||
%module(docstring=DOCSTRING) ogl
|
||||
|
||||
@@ -29,6 +29,12 @@ of 2D objects."
|
||||
%pythoncode { wx = _core }
|
||||
%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
|
||||
|
||||
%pythoncode {
|
||||
import warnings
|
||||
warnings.warn("This module is deprecated. Please use the wx.lib.ogl pacakge instead.",
|
||||
DeprecationWarning, stacklevel=2)
|
||||
}
|
||||
|
||||
|
||||
MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
|
||||
|
||||
|
Reference in New Issue
Block a user