- def __del__(self,fontsc=fontsc):
- if self.thisown == 1 :
- fontsc.delete_wxFontMapper(self)
+ def __del__(self, delfunc=fontsc.delete_wxFontMapper):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
+ def CharsetToEncoding(self, *_args, **_kwargs):
+ val = fontsc.wxFontMapper_CharsetToEncoding(self, *_args, **_kwargs)
+ return val
+ def SetConfig(self, *_args, **_kwargs):
+ val = fontsc.wxFontMapper_SetConfig(self, *_args, **_kwargs)
+ return val
+ def SetConfigPath(self, *_args, **_kwargs):
+ val = fontsc.wxFontMapper_SetConfigPath(self, *_args, **_kwargs)
+ return val