say that use of _T() is discouraged in new code, just like wxT() is

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-01-31 13:57:05 +00:00
parent ddc170523c
commit 6ac7ddd334

View File

@@ -15,16 +15,16 @@
builds of wxWidgets. This macro simply returns the value passed to it builds of wxWidgets. This macro simply returns the value passed to it
without changes in ASCII build. In fact, its definition is: without changes in ASCII build. In fact, its definition is:
@code @code
#ifdef UNICODE #ifdef UNICODE
# define wxT(x) L##x # define wxT(x) L##x
#else // !Unicode #else // !Unicode
# define wxT(x) x # define wxT(x) x
#endif #endif
@endcode @endcode
Note that since wxWidgets 2.9.0 you shouldn't use wxT() anymore in your Note that since wxWidgets 2.9.0 you shouldn't use wxT() anymore in your
program sources if you want to support Unicode. program sources (it was previously required if you wanted to support Unicode).
@see @ref overview_unicode, wxS() @see @ref overview_unicode, wxS()
@@ -60,6 +60,8 @@
Don't confuse this macro with _()! Don't confuse this macro with _()!
Note that since wxWidgets 2.9.0 the use of _T() is discouraged just like for wxT().
@header{wx/chartype.h} @header{wx/chartype.h}
*/ */
#define _T(string) #define _T(string)