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:
Vadim Zeitlin
2007-09-07 21:47:45 +00:00
parent 066f3611df
commit e6d4038a8b
8 changed files with 45 additions and 31 deletions

View File

@@ -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[] =
{