X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/baaa1d1a58224f2d1509965e5e9d9e8fd5799cf0..6b9f434ef364731ccf6e4ebf78b8cf71d3c85b79:/wxPython/contrib/ogl/msw/ogl.py diff --git a/wxPython/contrib/ogl/msw/ogl.py b/wxPython/contrib/ogl/msw/ogl.py index 9bfd4e17de..1ce7d1c13d 100644 --- a/wxPython/contrib/ogl/msw/ogl.py +++ b/wxPython/contrib/ogl/msw/ogl.py @@ -1,12 +1,21 @@ # This file was created automatically by SWIG. # Don't modify this file, modify the SWIG interface instead. +""" +The Object Graphics Library provides for simple drawing and manipulation +of 2D objects. (This version is deprecated, please use wx.lib.ogl instead.) +""" + import _ogl 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): @@ -1214,11 +1223,11 @@ class PseudoMetaFile(_core.Object): return _ogl.PseudoMetaFile_DestroyClippingRect(*args, **kwargs) def SetPen(*args, **kwargs): - """SetPen(self, wxPen pen, bool isOutline=FALSE)""" + """SetPen(self, wxPen pen, bool isOutline=False)""" return _ogl.PseudoMetaFile_SetPen(*args, **kwargs) def SetBrush(*args, **kwargs): - """SetBrush(self, wxBrush brush, bool isFill=FALSE)""" + """SetBrush(self, wxBrush brush, bool isFill=False)""" return _ogl.PseudoMetaFile_SetBrush(*args, **kwargs) def SetFont(*args, **kwargs): @@ -1281,7 +1290,7 @@ class PyRectangleShape(PyShape): return _ogl.PyRectangleShape_base_OnDrawContents(*args, **kwargs) def base_OnDrawBranches(*args, **kwargs): - """base_OnDrawBranches(self, DC dc, bool erase=FALSE)""" + """base_OnDrawBranches(self, DC dc, bool erase=False)""" return _ogl.PyRectangleShape_base_OnDrawBranches(*args, **kwargs) def base_OnMoveLinks(*args, **kwargs): @@ -1443,7 +1452,7 @@ class PyControlPoint(PyRectangleShape): return _ogl.PyControlPoint_base_OnDrawContents(*args, **kwargs) def base_OnDrawBranches(*args, **kwargs): - """base_OnDrawBranches(self, DC dc, bool erase=FALSE)""" + """base_OnDrawBranches(self, DC dc, bool erase=False)""" return _ogl.PyControlPoint_base_OnDrawBranches(*args, **kwargs) def base_OnMoveLinks(*args, **kwargs): @@ -1613,7 +1622,7 @@ class PyBitmapShape(PyRectangleShape): return _ogl.PyBitmapShape_base_OnDrawContents(*args, **kwargs) def base_OnDrawBranches(*args, **kwargs): - """base_OnDrawBranches(self, DC dc, bool erase=FALSE)""" + """base_OnDrawBranches(self, DC dc, bool erase=False)""" return _ogl.PyBitmapShape_base_OnDrawBranches(*args, **kwargs) def base_OnMoveLinks(*args, **kwargs): @@ -1839,7 +1848,7 @@ class PyDrawnShape(PyRectangleShape): return _ogl.PyDrawnShape_SetDrawnBackgroundMode(*args, **kwargs) def SetDrawnBrush(*args, **kwargs): - """SetDrawnBrush(self, wxBrush pen, bool isOutline=FALSE)""" + """SetDrawnBrush(self, wxBrush pen, bool isOutline=False)""" return _ogl.PyDrawnShape_SetDrawnBrush(*args, **kwargs) def SetDrawnFont(*args, **kwargs): @@ -1847,7 +1856,7 @@ class PyDrawnShape(PyRectangleShape): return _ogl.PyDrawnShape_SetDrawnFont(*args, **kwargs) def SetDrawnPen(*args, **kwargs): - """SetDrawnPen(self, wxPen pen, bool isOutline=FALSE)""" + """SetDrawnPen(self, wxPen pen, bool isOutline=False)""" return _ogl.PyDrawnShape_SetDrawnPen(*args, **kwargs) def SetDrawnTextColour(*args, **kwargs): @@ -1879,7 +1888,7 @@ class PyDrawnShape(PyRectangleShape): return _ogl.PyDrawnShape_base_OnDrawContents(*args, **kwargs) def base_OnDrawBranches(*args, **kwargs): - """base_OnDrawBranches(self, DC dc, bool erase=FALSE)""" + """base_OnDrawBranches(self, DC dc, bool erase=False)""" return _ogl.PyDrawnShape_base_OnDrawBranches(*args, **kwargs) def base_OnMoveLinks(*args, **kwargs): @@ -2118,7 +2127,7 @@ class PyCompositeShape(PyRectangleShape): return _ogl.PyCompositeShape_base_OnDrawContents(*args, **kwargs) def base_OnDrawBranches(*args, **kwargs): - """base_OnDrawBranches(self, DC dc, bool erase=FALSE)""" + """base_OnDrawBranches(self, DC dc, bool erase=False)""" return _ogl.PyCompositeShape_base_OnDrawBranches(*args, **kwargs) def base_OnMoveLinks(*args, **kwargs): @@ -2280,7 +2289,7 @@ class PyDividedShape(PyRectangleShape): return _ogl.PyDividedShape_base_OnDrawContents(*args, **kwargs) def base_OnDrawBranches(*args, **kwargs): - """base_OnDrawBranches(self, DC dc, bool erase=FALSE)""" + """base_OnDrawBranches(self, DC dc, bool erase=False)""" return _ogl.PyDividedShape_base_OnDrawBranches(*args, **kwargs) def base_OnMoveLinks(*args, **kwargs): @@ -2534,7 +2543,7 @@ class PyDivisionShape(PyCompositeShape): return _ogl.PyDivisionShape_base_OnDrawContents(*args, **kwargs) def base_OnDrawBranches(*args, **kwargs): - """base_OnDrawBranches(self, DC dc, bool erase=FALSE)""" + """base_OnDrawBranches(self, DC dc, bool erase=False)""" return _ogl.PyDivisionShape_base_OnDrawBranches(*args, **kwargs) def base_OnMoveLinks(*args, **kwargs): @@ -2684,7 +2693,7 @@ class PyEllipseShape(PyShape): return _ogl.PyEllipseShape_base_OnDrawContents(*args, **kwargs) def base_OnDrawBranches(*args, **kwargs): - """base_OnDrawBranches(self, DC dc, bool erase=FALSE)""" + """base_OnDrawBranches(self, DC dc, bool erase=False)""" return _ogl.PyEllipseShape_base_OnDrawBranches(*args, **kwargs) def base_OnMoveLinks(*args, **kwargs): @@ -2834,7 +2843,7 @@ class PyCircleShape(PyEllipseShape): return _ogl.PyCircleShape_base_OnDrawContents(*args, **kwargs) def base_OnDrawBranches(*args, **kwargs): - """base_OnDrawBranches(self, DC dc, bool erase=FALSE)""" + """base_OnDrawBranches(self, DC dc, bool erase=False)""" return _ogl.PyCircleShape_base_OnDrawBranches(*args, **kwargs) def base_OnMoveLinks(*args, **kwargs): @@ -3267,7 +3276,7 @@ class PyLineShape(PyShape): return _ogl.PyLineShape_base_OnDrawContents(*args, **kwargs) def base_OnDrawBranches(*args, **kwargs): - """base_OnDrawBranches(self, DC dc, bool erase=FALSE)""" + """base_OnDrawBranches(self, DC dc, bool erase=False)""" return _ogl.PyLineShape_base_OnDrawBranches(*args, **kwargs) def base_OnMoveLinks(*args, **kwargs): @@ -3461,7 +3470,7 @@ class PyPolygonShape(PyShape): return _ogl.PyPolygonShape_base_OnDrawContents(*args, **kwargs) def base_OnDrawBranches(*args, **kwargs): - """base_OnDrawBranches(self, DC dc, bool erase=FALSE)""" + """base_OnDrawBranches(self, DC dc, bool erase=False)""" return _ogl.PyPolygonShape_base_OnDrawBranches(*args, **kwargs) def base_OnMoveLinks(*args, **kwargs): @@ -3615,7 +3624,7 @@ class PyTextShape(PyRectangleShape): return _ogl.PyTextShape_base_OnDrawContents(*args, **kwargs) def base_OnDrawBranches(*args, **kwargs): - """base_OnDrawBranches(self, DC dc, bool erase=FALSE)""" + """base_OnDrawBranches(self, DC dc, bool erase=False)""" return _ogl.PyTextShape_base_OnDrawBranches(*args, **kwargs) def base_OnMoveLinks(*args, **kwargs):