X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84fff0b395adcfecd09dd65389ba7c1c47dd7eee..8a729bb860cec596f4ce5a59fabeb4404a266e97:/src/common/time.cpp diff --git a/src/common/time.cpp b/src/common/time.cpp index c221079ae4..1e358e4a09 100644 --- a/src/common/time.cpp +++ b/src/common/time.cpp @@ -34,12 +34,13 @@ seconds since January 1, 1901, GMT. #include "wx/utils.h" #include "wx/intl.h" -#include "wx/ioswrap.h" - -#if wxUSE_IOSTREAMH - #include -#else - #include +#if wxUSE_STD_IOSTREAM + #include "wx/ioswrap.h" + #if wxUSE_IOSTREAMH + #include + #else + #include + #endif #endif #include @@ -346,10 +347,10 @@ wxChar *wxTime::FormatTime() const { switch (Precision) { case wxStdMinSec: - wxSprintf(timeBuf,_T("%2d:%02d:%02d"),hh,GetMinute(),GetSecond()); + wxSprintf(timeBuf,wxT("%2d:%02d:%02d"),hh,GetMinute(),GetSecond()); break; case wxStdMin: - wxSprintf(timeBuf,_T("%2d:%02d"),hh,GetMinute()); + wxSprintf(timeBuf,wxT("%2d:%02d"),hh,GetMinute()); break; }