X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db3e571a3979e9d3fc66dad435630e0ca8fdac43..d32b901bac42e4f8833720fd6eee60de7d870e0d:/wxPython/contrib/ogl/gtk/ogl.py?ds=sidebyside diff --git a/wxPython/contrib/ogl/gtk/ogl.py b/wxPython/contrib/ogl/gtk/ogl.py index d5defa33c4..d7323ed148 100644 --- a/wxPython/contrib/ogl/gtk/ogl.py +++ b/wxPython/contrib/ogl/gtk/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):