]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/utils.py
Added wxDynamicSashWindow to wxPython, plus other odds and ends.
[wxWidgets.git] / wxPython / src / gtk / utils.py
index be380ee5a4647041bb83c7b0b4c37a5c0f44fe98..3234a60c6208d168411296df60e510610858757c 100644 (file)
@@ -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