]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/msw/ogl.py
reSWIGged
[wxWidgets.git] / wxPython / contrib / ogl / msw / ogl.py
index d5defa33c41a27bf5d67f0101960c41d80768466..1ce7d1c13ded26f870d2132c8c5e512bbdd26991 100644 (file)
@@ -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):
@@ -1219,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):
@@ -1286,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):
@@ -1448,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):
@@ -1618,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):
@@ -1844,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):
@@ -1852,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):
@@ -1884,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):
@@ -2123,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):
@@ -2285,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):
@@ -2539,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):
@@ -2689,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):
@@ -2839,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):
@@ -3272,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):
@@ -3466,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):
@@ -3620,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):