Use 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/branches/WX_2_8_BRANCH@45631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1074,12 +1074,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`");
|
||||
};
|
||||
|
||||
|
||||
@@ -1206,11 +1206,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`");
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user