X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2348eaee20040cd087f4584bd5d818cba7fc1463..2912e35f1774b140b44cb9f9568aa5ab8122cd02:/utils/wxPython/modules/ogl/oglshapes.py diff --git a/utils/wxPython/modules/ogl/oglshapes.py b/utils/wxPython/modules/ogl/oglshapes.py index 027ab140cb..35813bb1f7 100644 --- a/utils/wxPython/modules/ogl/oglshapes.py +++ b/utils/wxPython/modules/ogl/oglshapes.py @@ -9,6 +9,8 @@ from windows import * from gdi import * +from clip_dnd import * + from events import * from mdi import * @@ -741,6 +743,10 @@ class wxPyCompositeShapePtr(wxPyRectangleShapePtr): val = apply(oglshapesc.wxPyCompositeShape_AddConstraint,(self,) + _args, _kwargs) if val: val = wxOGLConstraintPtr(val) return val + def AddConstrainedShapes(self, *_args, **_kwargs): + val = apply(oglshapesc.wxPyCompositeShape_AddConstrainedShapes,(self,) + _args, _kwargs) + if val: val = wxOGLConstraintPtr(val) + return val def AddSimpleConstraint(self, *_args, **_kwargs): val = apply(oglshapesc.wxPyCompositeShape_AddSimpleConstraint,(self,) + _args, _kwargs) if val: val = wxOGLConstraintPtr(val)