X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5742c23be54707daa96fbb9fb2093a8fae3a517..71a0f42d2a5606098e3e7abbb50b9bb1cd718f9e:/interface/wx/chartype.h diff --git a/interface/wx/chartype.h b/interface/wx/chartype.h index b6a3ca5779..cf7e724e38 100644 --- a/interface/wx/chartype.h +++ b/interface/wx/chartype.h @@ -3,10 +3,10 @@ // Purpose: interface of global functions // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -/** @ingroup group_funcmacro_string */ +/** @addtogroup group_funcmacro_string */ //@{ /** @@ -15,16 +15,16 @@ builds of wxWidgets. This macro simply returns the value passed to it without changes in ASCII build. In fact, its definition is: -@code -#ifdef UNICODE -# define wxT(x) L##x -#else // !Unicode -# define wxT(x) x -#endif -@endcode + @code + #ifdef UNICODE + # define wxT(x) L##x + #else // !Unicode + # define wxT(x) x + #endif + @endcode 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() @@ -60,6 +60,11 @@ Don't confuse this macro with _()! + Note that since wxWidgets 2.9.0 the use of _T() is discouraged just like + for wxT() and also that this macro may conflict with identifiers defined in + standard headers of some compilers (such as Sun CC) so its use should + really be avoided. + @header{wx/chartype.h} */ #define _T(string)