X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac57418f39e9671c18b99942180563146625d3ae..d3dcceb4363163ea8eeba75234ac938e690230c8:/include/wx/time.h diff --git a/include/wx/time.h b/include/wx/time.h index 45d51a6752..49dbc62105 100644 --- a/include/wx/time.h +++ b/include/wx/time.h @@ -14,7 +14,7 @@ #include "wx/object.h" -#ifdef wxUSE_TIMEDATE +#if wxUSE_TIMEDATE #ifdef __GNUG__ #pragma interface "time.h" @@ -55,8 +55,11 @@ public: wxTime(const wxDate&, hourTy h =0, minuteTy m =0, secondTy s=0, bool dst =FALSE); // Convert to string +#ifndef __SALFORDC__ operator char * (void); operator wxDate() const; +#endif + bool operator<(const wxTime& t) const { return sec < t.sec; } bool operator<=(const wxTime& t) const { return sec <= t.sec; } bool operator>(const wxTime& t) const { return sec > t.sec; }