]> git.saurik.com Git - wxWidgets.git/commitdiff
User lower case property names in wx.DateSpan and wx.TimeSpan in order
authorRobin Dunn <robin@alldunn.com>
Mon, 16 Apr 2007 19:16:57 +0000 (19:16 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 16 Apr 2007 19:16:57 +0000 (19:16 +0000)
to not conflict with static methods with same names.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_datetime.i

index 4eb0162dd17d74850ae744e15bf227470a5ec921..4a278dcd96f661bc89fdc5ac1bfe38ec5f518ccb 100644 (file)
@@ -1058,12 +1058,12 @@ public:
          return self.Format().encode(wx.GetDefaultPyEncoding())
      }
 
-    %property(Days, GetDays, doc="See `GetDays`");
-    %property(Hours, GetHours, doc="See `GetHours`");
-    %property(Milliseconds, GetMilliseconds, doc="See `GetMilliseconds`");
-    %property(Minutes, GetMinutes, doc="See `GetMinutes`");
-    %property(Seconds, GetSeconds, doc="See `GetSeconds`");
-    %property(Weeks, GetWeeks, doc="See `GetWeeks`");
+    %property(days, GetDays, doc="See `GetDays`");
+    %property(hours, GetHours, doc="See `GetHours`");
+    %property(milliseconds, GetMilliseconds, doc="See `GetMilliseconds`");
+    %property(minutes, GetMinutes, doc="See `GetMinutes`");
+    %property(seconds, GetSeconds, doc="See `GetSeconds`");
+    %property(weeks, GetWeeks, doc="See `GetWeeks`");
 };
 
 
@@ -1190,11 +1190,11 @@ public:
         bool __ne__(const wxDateSpan* other) { return other ? (*self != *other) : true;  }
     }
 
-    %property(Days, GetDays, SetDays, doc="See `GetDays` and `SetDays`");
-    %property(Months, GetMonths, SetMonths, doc="See `GetMonths` and `SetMonths`");
-    %property(TotalDays, GetTotalDays, doc="See `GetTotalDays`");
-    %property(Weeks, GetWeeks, SetWeeks, doc="See `GetWeeks` and `SetWeeks`");
-    %property(Years, GetYears, SetYears, doc="See `GetYears` and `SetYears`");
+    %property(days, GetDays, SetDays, doc="See `GetDays` and `SetDays`");
+    %property(months, GetMonths, SetMonths, doc="See `GetMonths` and `SetMonths`");
+    %property(totalDays, GetTotalDays, doc="See `GetTotalDays`");
+    %property(weeks, GetWeeks, SetWeeks, doc="See `GetWeeks` and `SetWeeks`");
+    %property(years, GetYears, SetYears, doc="See `GetYears` and `SetYears`");
 };