]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/msw/ogl.py
reSWIGged
[wxWidgets.git] / wxPython / contrib / ogl / msw / ogl.py
index 9bfd4e17de5297e657cadcc04d38569b13606553..1ce7d1c13ded26f870d2132c8c5e512bbdd26991 100644 (file)
@@ -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):