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:
@@ -40,7 +40,7 @@
|
||||
static const struct wxKeyName
|
||||
{
|
||||
wxKeyCode code;
|
||||
const wxChar *name;
|
||||
const char *name;
|
||||
} wxKeyNames[] =
|
||||
{
|
||||
{ WXK_DELETE, wxTRANSLATE("DEL") },
|
||||
@@ -114,7 +114,7 @@ static const struct wxKeyName
|
||||
//
|
||||
// as accels can be either translated or not, check for both possibilities and
|
||||
// also compare case-insensitively as the key names case doesn't count
|
||||
static inline bool CompareAccelString(const wxString& str, const wxChar *accel)
|
||||
static inline bool CompareAccelString(const wxString& str, const char *accel)
|
||||
{
|
||||
return str.CmpNoCase(accel) == 0
|
||||
#if wxUSE_INTL
|
||||
@@ -128,7 +128,7 @@ static inline bool CompareAccelString(const wxString& str, const wxChar *accel)
|
||||
//
|
||||
// first and last parameter specify the valid domain for "number" part
|
||||
static int IsNumberedAccelKey(const wxString& str,
|
||||
const wxChar *prefix,
|
||||
const char *prefix,
|
||||
wxKeyCode prefixCode,
|
||||
unsigned first,
|
||||
unsigned last)
|
||||
|
||||
Reference in New Issue
Block a user