X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..097aeb99031e36e4306926d652e4bcccda8b71cb:/wxPython/contrib/ogl/oglshapes.py diff --git a/wxPython/contrib/ogl/oglshapes.py b/wxPython/contrib/ogl/oglshapes.py index d43293b595..b739f733a7 100644 --- a/wxPython/contrib/ogl/oglshapes.py +++ b/wxPython/contrib/ogl/oglshapes.py @@ -13,6 +13,8 @@ from clip_dnd import * from events import * +from streams import * + from mdi import * from frames import * @@ -35,6 +37,10 @@ from printfw import * from sizers import * +from filesys import * + +from utils import * + from oglbasic import * import wx class wxPseudoMetaFilePtr : @@ -707,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