removed wxSTRING_TEXT() macro in favour of wxS()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-01-02 17:33:31 +00:00
parent efc5f7eb98
commit d9359369af
3 changed files with 8 additions and 16 deletions

View File

@@ -78,14 +78,6 @@ class WXDLLIMPEXP_FWD_BASE wxString;
#define wxMBSTRINGCAST (char *)(const char *)
#define wxWCSTRINGCAST (wchar_t *)(const wchar_t *)
// like _T(), but for literals in wxString's internal representation, i.e.
// char* in UTF-8 build and wxChar* otherwise:
#if wxUSE_UNICODE_UTF8
#define wxSTRING_TEXT(str) str
#else
#define wxSTRING_TEXT(str) _T(str)
#endif
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------