X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..45eb5249574b0f1f50db5e6a7eb5bba43fd99cb9:/wxPython/src/gtk/utils.py diff --git a/wxPython/src/gtk/utils.py b/wxPython/src/gtk/utils.py index be380ee5a4..3234a60c62 100644 --- a/wxPython/src/gtk/utils.py +++ b/wxPython/src/gtk/utils.py @@ -338,10 +338,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 +417,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