git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1415
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Date comparison
//////////////////////////////////////////////////////////////
// Date comparison
//////////////////////////////////////////////////////////////
-bool operator < (const wxDate &dt1, const wxDate &dt2)
+bool WXDLLEXPORT operator < (const wxDate &dt1, const wxDate &dt2)
{
return ( dt1.julian < dt2.julian );
}
{
return ( dt1.julian < dt2.julian );
}
-bool operator <= (const wxDate &dt1, const wxDate &dt2)
+bool WXDLLEXPORT operator <= (const wxDate &dt1, const wxDate &dt2)
{
return ( (dt1.julian == dt2.julian) || (dt1.julian < dt2.julian) );
}
{
return ( (dt1.julian == dt2.julian) || (dt1.julian < dt2.julian) );
}
-bool operator > (const wxDate &dt1, const wxDate &dt2)
+bool WXDLLEXPORT operator > (const wxDate &dt1, const wxDate &dt2)
{
return ( dt1.julian > dt2.julian );
}
{
return ( dt1.julian > dt2.julian );
}
-bool operator >= (const wxDate &dt1, const wxDate &dt2)
+bool WXDLLEXPORT operator >= (const wxDate &dt1, const wxDate &dt2)
{
return ( (dt1.julian == dt2.julian) || (dt1.julian > dt2.julian) );
}
{
return ( (dt1.julian == dt2.julian) || (dt1.julian > dt2.julian) );
}
-bool operator == (const wxDate &dt1, const wxDate &dt2)
+bool WXDLLEXPORT operator == (const wxDate &dt1, const wxDate &dt2)
{
return ( dt1.julian == dt2.julian );
}
{
return ( dt1.julian == dt2.julian );
}
-bool operator != (const wxDate &dt1, const wxDate &dt2)
+bool WXDLLEXPORT operator != (const wxDate &dt1, const wxDate &dt2)
{
return ( dt1.julian != dt2.julian );
}
{
return ( dt1.julian != dt2.julian );
}
// Ostream operations
////////////////////////////////////////////////////////////////
// Ostream operations
////////////////////////////////////////////////////////////////
-ostream &operator << (ostream &os, const wxDate &dt)
+ostream& WXDLLEXPORT operator << (ostream &os, const wxDate &dt)
{
return os << (const char *) dt.FormatDate();
}
{
return os << (const char *) dt.FormatDate();
}