don't use _T() inside wxGetTranslation() and related macros (wxTRANSLATE, _, ...) to preserve compatibility with the old ASCII build (even at the expense with the Unicode build compatibility)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3835,7 +3835,7 @@ const wxChar *wxDateTime::ParseDate(const wxChar *date)
|
||||
// some special cases
|
||||
static struct
|
||||
{
|
||||
const wxChar *str;
|
||||
const char *str;
|
||||
int dayDiffFromToday;
|
||||
} literalDates[] =
|
||||
{
|
||||
@@ -4010,7 +4010,7 @@ const wxChar *wxDateTime::ParseDate(const wxChar *date)
|
||||
else // not a valid weekday name
|
||||
{
|
||||
// try the ordinals
|
||||
static const wxChar *ordinals[] =
|
||||
static const char *ordinals[] =
|
||||
{
|
||||
wxTRANSLATE("first"),
|
||||
wxTRANSLATE("second"),
|
||||
@@ -4176,7 +4176,7 @@ const wxChar *wxDateTime::ParseTime(const wxChar *time)
|
||||
// first try some extra things
|
||||
static const struct
|
||||
{
|
||||
const wxChar *name;
|
||||
const char *name;
|
||||
wxDateTime_t hour;
|
||||
} stdTimes[] =
|
||||
{
|
||||
|
Reference in New Issue
Block a user