X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f63d1410867697ef86fadad051d2c1ebea1a68a..7447d53c35249d42128d6243c90998f03882859a:/docs/doxygen/mainpages/const_cpp.h diff --git a/docs/doxygen/mainpages/const_cpp.h b/docs/doxygen/mainpages/const_cpp.h index cd97372625..f3ecc50271 100644 --- a/docs/doxygen/mainpages/const_cpp.h +++ b/docs/doxygen/mainpages/const_cpp.h @@ -3,7 +3,7 @@ // Purpose: Preprocessor symbols // Author: Vadim Zeitlin // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -32,9 +32,6 @@ always tested using @ifdef_ and not @if_. @section page_cppconst_guisystem GUI system @beginDefList -@itemdef{__WINDOWS__, any Windows, you may also use __WXMSW__} -@itemdef{__WIN16__, Win16 API (not supported since wxWidgets 2.6)} -@itemdef{__WIN32__, Win32 API} @itemdef{__WXBASE__, Only wxBase, no GUI features (same as @c wxUSE_GUI == 0)} @itemdef{__WXCOCOA__, OS X using wxCocoa Port} @itemdef{__WXDFB__, wxUniversal using DirectFB} @@ -48,8 +45,7 @@ always tested using @ifdef_ and not @if_. @itemdef{__WXMAC__, old define for Mac OS X} @itemdef{__WXMOTIF__, Motif} @itemdef{__WXMOTIF20__, Motif 2.0 or higher} -@itemdef{__WXMGL__, SciTech Soft MGL (__WXUNIVERSAL__ will be also defined)} -@itemdef{__WXMSW__, Any Windows} +@itemdef{__WXMSW__, GUI using Windows Controls} @itemdef{__WXOSX__, any OS X} @itemdef{__WXOSX_IPHONE__, OS X iPhone} @itemdef{__WXOSX_CARBON__, Mac OS X using Carbon} @@ -57,7 +53,6 @@ always tested using @ifdef_ and not @if_. @itemdef{__WXOSX_MAC__, Mac OS X (Carbon or Cocoa)} @itemdef{__WXOSX_OR_COCOA__, Any Mac OS X port (wxOSX-Carbon, wxOSX-Cocoa or wxCocoa)} -@itemdef{__WXPALMOS__, PalmOS} @itemdef{__WXPM__, OS/2 native Presentation Manager} @itemdef{__WXSTUBS__, Stubbed version ('template' wxWin implementation)} @itemdef{__WXXT__, Xt; mutually exclusive with WX_MOTIF, not implemented in wxWidgets 2.x} @@ -93,17 +88,15 @@ symbols, although this has not always been followed. @itemdef{__AIX__, AIX} @itemdef{__BSD__, Any *BSD system} @itemdef{__CYGWIN__, Cygwin: Unix on Win32} -@itemdef{__DARWIN__, Mac OS X using the BSD Unix C library - (as opposed to using the Metrowerks MSL C/C++ library)} +@itemdef{__DARWIN__, Mac OS X (with BSD C library)} @itemdef{__DATA_GENERAL__, DG-UX} -@itemdef{__DOS_GENERAL__, DOS (used with wxMGL only)} @itemdef{__FREEBSD__, FreeBSD} @itemdef{__HPUX__, HP-UX (Unix)} @itemdef{__GNU__, GNU Hurd} @itemdef{__LINUX__, Linux} @itemdef{__MACH__, Mach-O Architecture (Mac OS X only builds)} @itemdef{__OSF__, OSF/1} -@itemdef{__PALMOS__, PalmOS} +@itemdef{__QNX__, QNX Neutrino RTOS} @itemdef{__SGI__, IRIX} @itemdef{__SOLARIS__, Solaris} @itemdef{__SUN__, Any Sun} @@ -114,8 +107,12 @@ symbols, although this has not always been followed. @itemdef{__UNIX__, any Unix} @itemdef{__UNIX_LIKE__, Unix, BeOS or VMS} @itemdef{__VMS__, VMS} -@itemdef{__WINDOWS__, any Windows} +@itemdef{__WINDOWS__, Any Windows platform, using any port (see also @c __WXMSW__)} +@itemdef{__WIN16__, Win16 API (not supported since wxWidgets 2.6)} +@itemdef{__WIN32__, Win32 API} +@itemdef{__WIN64__, Win64 (mostly same as Win32 but data type sizes are different)} @itemdef{__WINE__, Wine} +@itemdef{_WIN32_WCE, Windows CE version} @endDefList @@ -155,24 +152,23 @@ compiler used. to the compiler version: 500 is 5.0.} @itemdef{__DJGPP__, DJGPP} @itemdef{__DIGITALMARS__, Digital Mars} +@itemdef{__EVC4__, Embedded Visual C++ 4 (can be only used for building wxWinCE)} @itemdef{__GNUG__, Gnu C++ on any platform, see also wxCHECK_GCC_VERSION} @itemdef{__GNUWIN32__, Gnu-Win32 compiler, see also wxCHECK_W32API_VERSION} @itemdef{__MINGW32__, MinGW} -@itemdef{__MWERKS__, CodeWarrior MetroWerks compiler} @itemdef{__SUNCC__, Sun CC, see also wxCHECK_SUNCC_VERSION} @itemdef{__SYMANTECC__, Symantec C++} @itemdef{__VISAGECPP__, IBM Visual Age (OS/2)} -@itemdef{__VISUALC__, Microsoft Visual C++, see also wxCHECK_VISUALC_VERSION. +@itemdef{__VISUALC__, Microsoft Visual C++, see also ::wxCHECK_VISUALC_VERSION. The value of this macro corresponds to the compiler version: @c 1020 for @c 4.2 (the first supported version), @c 1100 for @c 5.0, @c 1200 for @c 6.0 and so on. For convenience, the symbols __VISUALCn__ are also defined for each major compiler version from - 5 to 9, i.e. you can use tests such @ifdef_ __VISUALC7__ to test + 5 to 11, i.e. you can use tests such @ifdef_ __VISUALC7__ to test for compiler version being precisely 7.} @itemdef{__XLC__, AIX compiler} @itemdef{__WATCOMC__, Watcom C++. The value of this macro corresponds to the compiler version, @c 1100 is @c 11.0 and @c 1200 is OpenWatcom.} -@itemdef{_WIN32_WCE, Windows CE version} @endDefList @@ -190,15 +186,33 @@ the corresponding feature is available and not defined at all otherwise. Currently the following symbols exist: @beginDefList +@itemdef{wxHAS_3STATE_CHECKBOX, Defined if wxCheckBox supports wxCHK_3STATE + flag, i.e. is capable of showing three states and not only the usual two. + Currently defined for almost all ports.} @itemdef{wxHAS_ATOMIC_OPS, Defined if wxAtomicInc() and wxAtomicDec() functions have an efficient (CPU-specific) implementation. Notice that the functions themselves are always available but can be prohibitively slow to use when implemented in a generic way, using a critical section.} +@itemdef{wxHAS_BITMAPTOGGLEBUTTON, Defined in @c wx/tglbtn.h if + wxBitmapToggleButton class is available in addition to wxToggleButton.} @itemdef{wxHAS_CONFIG_TEMPLATE_RW, Defined if the currently used compiler supports template Read() and Write() methods in wxConfig.} -@itemdef{wxHAS_LARGE_FILES, Defined if wxFile supports files more than 4GB in size.} -@itemdef{wxHAS_LARGE_FFILES, Defined if wxFFile supports files more than 4GB in size.} +@itemdef{wxHAS_LARGE_FILES, Defined if wxFile supports files more than 4GB in + size (notice that you must include @c wx/filefn.h before testing for this + symbol).} +@itemdef{wxHAS_LARGE_FFILES, Defined if wxFFile supports files more than 4GB in + size (notice that you must include @c wx/filefn.h before testing for this + symbol).} +@itemdef{wxHAS_LONG_LONG_T_DIFFERENT_FROM_LONG, Defined if compiler supports a + 64 bit integer type (available as @c wxLongLong_t) and this type is + different from long. Notice that, provided wxUSE_LONGLONG is not turned + off, some 64 bit type is always available to wxWidgets programs and this + symbol only indicates a presence of such primitive type. It is useful to + decide whether some function should be overloaded for both + long and long long types.} @itemdef{wxHAS_MULTIPLE_FILEDLG_FILTERS, Defined if wxFileDialog supports multiple ('|'-separated) filters.} +@itemdef{wxHAS_IMAGES_IN_RESOURCES, Defined if + Windows resource files or OS/2 resource files are available on the current platform.} @itemdef{wxHAS_POWER_EVENTS, Defined if wxPowerEvent are ever generated on the current platform.} @itemdef{wxHAS_RADIO_MENU_ITEMS, Defined if the current port supports radio menu items (see wxMenu::AppendRadioItem).} @@ -228,6 +242,7 @@ with the corresponding library. The following symbols are honoured: - wxNO_PROPGRID_LIB - wxNO_QA_LIB - wxNO_RICHTEXT_LIB + - wxNO_WEBVIEW_LIB - wxNO_XML_LIB - wxNO_REGEX_LIB - wxNO_EXPAT_LIB @@ -245,7 +260,10 @@ for the GUI applications (i.e. those which don't define @c wxUSE_GUI as 0). @beginDefList @itemdef{__WXWINDOWS__, always defined in wxWidgets applications, see also wxCHECK_VERSION} -@itemdef{__WXDEBUG__, defined in debug mode, undefined in release mode} +@itemdef{wxDEBUG_LEVEL, defined as 1 by default, may be pre-defined as 0 before + including wxWidgets headers to disable generation of any code at all + for the assertion macros, see @ref overview_debugging} +@itemdef{__WXDEBUG__, defined if wxDEBUG_LEVEL is 1 or more, undefined otherwise} @itemdef{wxUSE_XXX, if defined as 1, feature XXX is active, see the @ref page_wxusedef (the symbols of this form are always defined,