X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c368d904fc27d35ae1e533155e2154dc496432e4..097aeb99031e36e4306926d652e4bcccda8b71cb:/wxPython/contrib/ogl/oglshapes.py diff --git a/wxPython/contrib/ogl/oglshapes.py b/wxPython/contrib/ogl/oglshapes.py index c4dd67874e..b739f733a7 100644 --- a/wxPython/contrib/ogl/oglshapes.py +++ b/wxPython/contrib/ogl/oglshapes.py @@ -713,9 +713,6 @@ class wxOGLConstraintPtr : def __init__(self,this): self.this = this self.thisown = 0 - def __del__(self,oglshapesc=oglshapesc): - if self.thisown == 1 : - oglshapesc.delete_wxOGLConstraint(self) def Evaluate(self, *_args, **_kwargs): val = apply(oglshapesc.wxOGLConstraint_Evaluate,(self,) + _args, _kwargs) return val