From: David Webster Date: Tue, 21 Dec 1999 15:14:14 +0000 (+0000) Subject: Uncompilable header fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/75399efbb219f894ac5fa3198125de05a6193642 Uncompilable header fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/date.h b/include/wx/date.h index 43209e7f0d..9f964d35fe 100644 --- a/include/wx/date.h +++ b/include/wx/date.h @@ -119,11 +119,11 @@ public: // Sets to current system date wxDate &Set() - { m_date = wxDateTime::Today(); return *this; } + { m_date = wxDateTime::Today(); return (wxDate&)*this; } wxDate &Set(long lJulian) - { m_date.Set((double)(lJulian + 0.5)); return *this; } + { m_date.Set((double)(lJulian + 0.5)); return (wxDate&)*this; } wxDate &Set(int nMonth, int nDay, int nYear) - { m_date.Set(nDay, (wxDateTime::Month)nMonth, nYear); } + { m_date.Set(nDay, (wxDateTime::Month)nMonth, nYear); return (wxDate&)*this; } // May also pass neg# to decrement wxDate &AddWeeks(int nCount = 1)