X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce3ed50dbe32d118321082db84c3a9abb047d5b7..0a240683ed2ed0ad7efe733d451dd36740607605:/include/wx/date.h diff --git a/include/wx/date.h b/include/wx/date.h index ea1b894c69..49936f064d 100644 --- a/include/wx/date.h +++ b/include/wx/date.h @@ -20,7 +20,7 @@ #include "wx/object.h" #include "wx/string.h" -#ifdef wxUSE_TIMEDATE +#if wxUSE_TIMEDATE enum wxdate_format_type {wxMDY, wxDAY, wxMONTH, wxFULL, wxEUROPEAN}; @@ -82,7 +82,7 @@ class WXDLLEXPORT wxDate: public wxObject friend bool WXDLLEXPORT operator == (const wxDate &dt1, const wxDate &dt2); friend bool WXDLLEXPORT operator != (const wxDate &dt1, const wxDate &dt2); - friend ostream& WXDLLEXPORT operator << (ostream &os, const wxDate &dt); + friend ostream WXDLLEXPORT & operator << (ostream &os, const wxDate &dt); wxString FormatDate (int type=-1) const; void SetFormat (int format);