X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/748a46846984b408135b2e1c1093db31f9296543..0b40f3d80b78cfbcce1927a684239bfe8d37fe58:/docs/latex/wx/cppconst.tex diff --git a/docs/latex/wx/cppconst.tex b/docs/latex/wx/cppconst.tex index b3f0fbe711..f35465960a 100644 --- a/docs/latex/wx/cppconst.tex +++ b/docs/latex/wx/cppconst.tex @@ -1,11 +1,10 @@ \section{Preprocesser symbols defined by wxWidgets}\label{cppconst} -Here is the list of preprocessor symbols used in the wxWidgets source grouped +These are preprocessor symbols used in the wxWidgets source, grouped by category (and sorted by alphabetical order inside each category). All of -these macros except for \texttt{wxUSE\_XXX} variety is defined if the +these macros except for the \texttt{wxUSE\_XXX} variety is defined if the corresponding condition is true and undefined if it isn't, so they should be -always tested usin \texttt{#ifdef} and not \texttt{#if}. - +always tested using \texttt{#ifdef} and not \texttt{#if}. \subsection{GUI system}\label{guisystemconst} @@ -158,11 +157,19 @@ also \helpref{wxCHECK\_VERSION}{wxcheckversion}} \twocolitem{wxUSE\_XXX}{if defined as $1$, feature XXX is active (the symbols of this form are always defined, use \#if and not \#ifdef to test for them)} +\twocolitem{\_UNICODE and UNICODE}{both are defined if wxUSE\_UNICODE is set to $1$} \twocolitem{wxUSE\_GUI}{this particular feature test macro is defined to $1$ when compiling or using the library with the GUI features activated, if it is defined as $0$, only wxBase is available.} \twocolitem{wxUSE\_BASE}{only used by wxWidgets internally (defined as $1$ when building wxBase code, either as a standalone library or as part of the monolithic wxWidgets library, defined as $0$ when building GUI library only)} +\twocolitem{wxNO\_RTTI}{is defined if the compiler RTTI support has been switched off} +\twocolitem{wxNO\_EXCEPTIONS}{is defined if the compiler support for C++ +exceptions has been switched off} +\twocolitem{wxNO\_THREADS}{if this macro is defined, the compilation options +don't include compiler flags needed for multithreaded code generation. This +implies that wxUSE\_THREADS is $0$ and also that other (non wx-based) threading +packages cannot be used neither.} \end{twocollist}