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:
parent
68fc69f307
commit
e38bacf884
@ -88,10 +88,6 @@
|
||||
// allows to exclude the usage of wxDateTime
|
||||
static wxString TimeStamp(const wxChar *format, time_t t)
|
||||
{
|
||||
#ifdef __WXWINCE__
|
||||
// FIXME
|
||||
return wxEmptyString;
|
||||
#else
|
||||
wxChar buf[4096];
|
||||
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"));
|
||||
}
|
||||
return wxString(buf);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user