WinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -84,7 +84,9 @@
|
|||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
#include "wx/msw/wrapwin.h"
|
#include "wx/msw/wrapwin.h"
|
||||||
#include <winnls.h>
|
#include <winnls.h>
|
||||||
#include <locale.h>
|
#ifndef __WXWINCE__
|
||||||
|
#include <locale.h>
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/datetime.h"
|
#include "wx/datetime.h"
|
||||||
@@ -357,6 +359,7 @@ static long GetTruncatedJDN(wxDateTime::wxDateTime_t day,
|
|||||||
- JDN_OFFSET;
|
- JDN_OFFSET;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __WXWINCE__
|
||||||
// this function is a wrapper around strftime(3) adding error checking
|
// this function is a wrapper around strftime(3) adding error checking
|
||||||
static wxString CallStrftime(const wxChar *format, const tm* tm)
|
static wxString CallStrftime(const wxChar *format, const tm* tm)
|
||||||
{
|
{
|
||||||
@@ -369,6 +372,7 @@ static wxString CallStrftime(const wxChar *format, const tm* tm)
|
|||||||
|
|
||||||
return wxString(buf);
|
return wxString(buf);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_STRPTIME
|
#ifdef HAVE_STRPTIME
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user