X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa6ec1d78726fd2f2d9e32dabb6f5a289978af25..7c913512a4c9f36e11e07ea707002fab1608d324:/interface/chartype.h diff --git a/interface/chartype.h b/interface/chartype.h index 702e85f4e2..48c2f65222 100644 --- a/interface/chartype.h +++ b/interface/chartype.h @@ -1,21 +1,21 @@ ///////////////////////////////////////////////////////////////////////////// - // Name: chartype.h - // Purpose: documentation for global functions - // Author: wxWidgets team - // RCS-ID: $Id$ - // Licence: wxWindows license - ///////////////////////////////////////////////////////////////////////////// - - //@{ +// Name: chartype.h +// Purpose: documentation for global functions +// Author: wxWidgets team +// RCS-ID: $Id$ +// Licence: wxWindows license +///////////////////////////////////////////////////////////////////////////// + +//@{ /** wxT() is a macro which can be used with character and string literals (in other words, @c 'x' or @c "foo") to automatically convert them to Unicode in Unicode build configuration. Please see the @ref overview_unicode "Unicode overview" for more information. - + This macro is 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 @@ -25,11 +25,11 @@ @endcode */ wxChar wxT(char ch); - const wxChar * wxT(const char * s); +const wxChar * wxT(const char * s); //@} - //@{ +//@{ /** wxS is macro which can be used with character and string literals to either convert them to wide characters or strings in @c wchar_t-based Unicode @@ -38,10 +38,10 @@ wxChar wxT(char ch); mismatch between the kind of the literal used and wxStringCharType used in the current build, but using it can be beneficial in performance-sensitive code to do the conversion at compile-time instead. - + @sa wxT */ wxStringCharType wxS(char ch); - const wxStringCharType * wxS(const char * s); +const wxStringCharType * wxS(const char * s); //@}