from gdi import *
+from fonts import *
+
from clip_dnd import *
from events import *
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,oglshapesc=oglshapesc):
- if self.thisown == 1 :
- oglshapesc.delete_wxPseudoMetaFile(self)
+ def __del__(self, delfunc=oglshapesc.delete_wxPseudoMetaFile):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def Draw(self, *_args, **_kwargs):
val = apply(oglshapesc.wxPseudoMetaFile_Draw,(self,) + _args, _kwargs)
return val
- def WriteAttributes(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_WriteAttributes,(self,) + _args, _kwargs)
- return val
- def ReadAttributes(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_ReadAttributes,(self,) + _args, _kwargs)
- return val
def Clear(self, *_args, **_kwargs):
val = apply(oglshapesc.wxPseudoMetaFile_Clear,(self,) + _args, _kwargs)
return val
self.this = apply(oglshapesc.new_wxPyRectangleShape,_args,_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyRectangleShape)
+ self._setOORInfo(self)
self.this = apply(oglshapesc.new_wxPyControlPoint,_args,_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyControlPoint)
+ self._setOORInfo(self)
self.this = apply(oglshapesc.new_wxPyBitmapShape,_args,_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyBitmapShape)
+ self._setOORInfo(self)
self.this = apply(oglshapesc.new_wxPyDrawnShape,_args,_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyDrawnShape)
+ self._setOORInfo(self)
self.this = apply(oglshapesc.new_wxPyCompositeShape,_args,_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyCompositeShape)
+ self._setOORInfo(self)
self.this = apply(oglshapesc.new_wxPyDividedShape,_args,_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyDividedShape)
+ self._setOORInfo(self)
self.this = apply(oglshapesc.new_wxPyDivisionShape,_args,_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyDivisionShape)
+ self._setOORInfo(self)