X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d80fc6df5565a225329b902f53cb052ba340a1aa..0b40f3d80b78cfbcce1927a684239bfe8d37fe58:/docs/latex/wx/cppconst.tex diff --git a/docs/latex/wx/cppconst.tex b/docs/latex/wx/cppconst.tex index ddba90efbf..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} @@ -31,6 +30,7 @@ defined)} \twocolitem{\_\_WXMSW\_\_}{Any Windows} \twocolitem{\_\_WXOS2\_\_}{Identical to \_\_WXPM\_\_} \twocolitem{\_\_WXOSX\_\_}{Any Mac OS X port (either Carbon or Cocoa)} +\twocolitem{\_\_WXPALMOS\_\_}{PalmOS} \twocolitem{\_\_WXPM\_\_}{OS/2 native Presentation Manager} \twocolitem{\_\_WXSTUBS\_\_}{Stubbed version ('template' wxWin implementation)} \twocolitem{\_\_WXXT\_\_}{Xt; mutually exclusive with WX\_MOTIF, not @@ -80,6 +80,7 @@ any new symbols with it. \twocolitem{\_\_LINUX\_\_}{Linux} \twocolitem{\_\_MACH\_\_}{Mach-O Architecture (Mac OS X only builds)} \twocolitem{\_\_OSF\_\_}{OSF/1} +\twocolitem{\_\_PALMOS\_\_}{PalmOS} \twocolitem{\_\_SGI\_\_}{IRIX} \twocolitem{\_\_SOLARIS\_\_}{Solaris} \twocolitem{\_\_SUN\_\_}{Any Sun} @@ -102,6 +103,7 @@ compiler used. \begin{twocollist}\itemsep=0pt \twocolitem{\_\_ALPHA\_\_}{DEC Alpha architecture} \twocolitem{\_\_INTEL\_\_}{Intel i386 or compatible} +\twocolitem{\_\_IA64\_\_}{Intel 64 bit architecture} \twocolitem{\_\_POWERPC\_\_}{Motorola Power PC} \end{twocollist} @@ -155,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}