X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/caef1a4da61f682659a1a17a68374574ba26afc9..ad3fca675f77c2903cafd096bbda8baa2e7689ff:/wxPython/contrib/ogl/msw/ogl.py diff --git a/wxPython/contrib/ogl/msw/ogl.py b/wxPython/contrib/ogl/msw/ogl.py index d5defa33c4..d7323ed148 100644 --- a/wxPython/contrib/ogl/msw/ogl.py +++ b/wxPython/contrib/ogl/msw/ogl.py @@ -3,7 +3,7 @@ """ 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.) """ import _ogl @@ -12,6 +12,10 @@ import _windows import _core wx = _core __docfilter__ = wx.__DocFilter(globals()) +import warnings +warnings.warn("This module is deprecated. Please use the wx.lib.ogl package instead.", + DeprecationWarning, stacklevel=2) + #--------------------------------------------------------------------------- class ShapeRegion(_core.Object):