- def Init(self, *_args, **_kwargs):
- val = apply(fontsc.wxLocale_Init,(self,) + _args, _kwargs)
+ def __del__(self, delfunc=fontsc.delete_wxLocale):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
+ def Init1(self, *_args, **_kwargs):
+ val = apply(fontsc.wxLocale_Init1,(self,) + _args, _kwargs)
+ return val
+ def Init2(self, *_args, **_kwargs):
+ val = apply(fontsc.wxLocale_Init2,(self,) + _args, _kwargs)