User lower case property names in wx.DateSpan and wx.TimeSpan in order

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
This commit is contained in:
Robin Dunn
2007-04-16 19:16:57 +00:00
parent 0da1f4c072
commit 9b89d98dac

View 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`");
};