WinCE does support strftime() now, no need to #ifdef it out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -88,10 +88,6 @@
|
|||||||
// allows to exclude the usage of wxDateTime
|
// allows to exclude the usage of wxDateTime
|
||||||
static wxString TimeStamp(const wxChar *format, time_t t)
|
static wxString TimeStamp(const wxChar *format, time_t t)
|
||||||
{
|
{
|
||||||
#ifdef __WXWINCE__
|
|
||||||
// FIXME
|
|
||||||
return wxEmptyString;
|
|
||||||
#else
|
|
||||||
wxChar buf[4096];
|
wxChar buf[4096];
|
||||||
if ( !wxStrftime(buf, WXSIZEOF(buf), format, localtime(&t)) )
|
if ( !wxStrftime(buf, WXSIZEOF(buf), format, localtime(&t)) )
|
||||||
{
|
{
|
||||||
@@ -99,7 +95,6 @@ static wxString TimeStamp(const wxChar *format, time_t t)
|
|||||||
wxFAIL_MSG(_T("strftime() failed"));
|
wxFAIL_MSG(_T("strftime() failed"));
|
||||||
}
|
}
|
||||||
return wxString(buf);
|
return wxString(buf);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user