X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..3216dbf5dccab8ed6dc0245b7e5c998738ef51d7:/wxPython/src/gtk/utils.py diff --git a/wxPython/src/gtk/utils.py b/wxPython/src/gtk/utils.py index be380ee5a4..8bf7b40f86 100644 --- a/wxPython/src/gtk/utils.py +++ b/wxPython/src/gtk/utils.py @@ -76,6 +76,9 @@ class wxConfigBasePtr : def ReadFloat(self, *_args, **_kwargs): val = apply(utilsc.wxConfigBase_ReadFloat,(self,) + _args, _kwargs) return val + def ReadBool(self, *_args, **_kwargs): + val = apply(utilsc.wxConfigBase_ReadBool,(self,) + _args, _kwargs) + return val def SetExpandEnvVars(self, *_args, **_kwargs): val = apply(utilsc.wxConfigBase_SetExpandEnvVars,(self,) + _args, _kwargs) return val @@ -106,6 +109,9 @@ class wxConfigBasePtr : def WriteFloat(self, *_args, **_kwargs): val = apply(utilsc.wxConfigBase_WriteFloat,(self,) + _args, _kwargs) return val + def WriteBool(self, *_args, **_kwargs): + val = apply(utilsc.wxConfigBase_WriteBool,(self,) + _args, _kwargs) + return val def GetEntryType(self, *_args, **_kwargs): val = apply(utilsc.wxConfigBase_GetEntryType,(self,) + _args, _kwargs) return val @@ -338,10 +344,6 @@ class wxDateTimePtr : def SetToWeekDay(self, *_args, **_kwargs): val = apply(utilsc.wxDateTime_SetToWeekDay,(self,) + _args, _kwargs) return val - def GetWeekDay(self, *_args, **_kwargs): - val = apply(utilsc.wxDateTime_GetWeekDay,(self,) + _args, _kwargs) - if val: val = wxDateTimePtr(val) ; val.thisown = 1 - return val def SetToLastWeekDay(self, *_args, **_kwargs): val = apply(utilsc.wxDateTime_SetToLastWeekDay,(self,) + _args, _kwargs) return val @@ -421,6 +423,9 @@ class wxDateTimePtr : def GetDay(self, *_args, **_kwargs): val = apply(utilsc.wxDateTime_GetDay,(self,) + _args, _kwargs) return val + def GetWeekDay(self, *_args, **_kwargs): + val = apply(utilsc.wxDateTime_GetWeekDay,(self,) + _args, _kwargs) + return val def GetHour(self, *_args, **_kwargs): val = apply(utilsc.wxDateTime_GetHour,(self,) + _args, _kwargs) return val