X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/105e45b9d02d7e9ed10923957ae1ce60c037273d..29672bf006a8b8422deb530594d1e7b431f6f68c:/utils/wxPython/src/gtk/utils.py diff --git a/utils/wxPython/src/gtk/utils.py b/utils/wxPython/src/gtk/utils.py index 3128077d1a..5d437af207 100644 --- a/utils/wxPython/src/gtk/utils.py +++ b/utils/wxPython/src/gtk/utils.py @@ -4,12 +4,15 @@ class wxConfigPtr : def __init__(self,this): self.this = this self.thisown = 0 - def __del__(self): + def __del__(self, utilsc=utilsc): if self.thisown == 1 : utilsc.delete_wxConfig(self.this) def DontCreateOnDemand(self): val = utilsc.wxConfig_DontCreateOnDemand(self.this) return val + def DeleteAll(self): + val = utilsc.wxConfig_DeleteAll(self.this) + return val def DeleteEntry(self,arg0,*args): val = apply(utilsc.wxConfig_DeleteEntry,(self.this,arg0,)+args) return val @@ -70,9 +73,6 @@ class wxConfigPtr : def ReadFloat(self,arg0,*args): val = apply(utilsc.wxConfig_ReadFloat,(self.this,arg0,)+args) return val - def SetAppName(self,arg0): - val = utilsc.wxConfig_SetAppName(self.this,arg0) - return val def SetExpandEnvVars(self,*args): val = apply(utilsc.wxConfig_SetExpandEnvVars,(self.this,)+args) return val @@ -82,9 +82,6 @@ class wxConfigPtr : def SetRecordDefaults(self,*args): val = apply(utilsc.wxConfig_SetRecordDefaults,(self.this,)+args) return val - def SetVendorName(self,arg0): - val = utilsc.wxConfig_SetVendorName(self.this,arg0) - return val def Write(self,arg0,arg1): val = utilsc.wxConfig_Write(self.this,arg0,arg1) return val