more fixes to compilation warnings from HP-UX build log. About 30% more to go
<sigh> git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -81,8 +81,8 @@ public:
|
||||
long operator-(const wxDate &dt) const
|
||||
{ return GetJulianDate() - dt.GetJulianDate(); }
|
||||
|
||||
wxDate &operator+=(long i) { m_date += wxTimeSpan::Days(i); return *this; }
|
||||
wxDate &operator-=(long i) { m_date -= wxTimeSpan::Days(i); return *this; }
|
||||
wxDate &operator+=(long i) { m_date += wxTimeSpan::Days((int)i); return *this; }
|
||||
wxDate &operator-=(long i) { m_date -= wxTimeSpan::Days((int)i); return *this; }
|
||||
|
||||
wxDate &operator++() { return *this += 1; }
|
||||
wxDate &operator++(int) { return *this += 1; }
|
||||
|
Reference in New Issue
Block a user