]> git.saurik.com Git - wxWidgets.git/blame - docs/symbols.txt
wxBook additions; added a couple of pixels in menu drawing; taskbar
[wxWidgets.git] / docs / symbols.txt
CommitLineData
c801d85f
KB
1This is a list of preprocessor symbols used in the wxWindows source.
2
3GUIs:
4-----
5
6__X__ any X, but not GTK
34138703
JS
7__WXMOTIF__ Motif
8__WXXT__ Xt; mutually exclusive with WX_MOTIF (?)
9__WXGTK__ GTK
e5ea3f7a 10__WXGTK12__ GTK 1.2 or higher
34138703 11__WXMSW__ Any Windows
5a92d200 12__WXWINE__ WINE (i.e. Win32 on Unix)
34138703 13__WXMAC__ MacOS
c801d85f 14__UNIX__ any Unix
31276cb5
RR
15__WINDOWS__ any Windows
16__WIN95__ GUI for Windows 95 and above; NT 4.0 and above.
17__WIN32__ WIN32 API
18__NT__ Windows NT
19__WXCURSES__ CURSES
20__WXSTUBS__ Stubbed version ('template' wxWin implementation)
21
22In fact, they should better all start with __WX instead of __ only.
23The only GUIs implemented for 2.0 are __WXGTK__, __WXMSW__ and __WXMOTIF__
24yet. Any new ones, please start the define with __WX.
25
26OSes/machines:
27
28__HPUX__
29__SVR4__
30__SYSV__
31__LINUX__
32__SGI__
33__ULTRIX__
34__BSD__
35__VMS__
36__SUN__ Any Sun
37__SUNOS__
38__SOLARIS__
39__ALPHA__
40__AIX__
41__DATA_GENERAL__
42__OSF__
43__FREEBSD__
44
45Compilers:
46----------
47
48__GNUWIN32__ Gnu-Win32 compiler
49__DJGPP__ DJGPP
50__GNUG__ Gnu C++ on any platform
51__BORLANDC__ Borland C++
52__WATCOMC__ Watcom C++
53__SYMANTECC__ Symantec C++
54__VISUALC__ VC++
55__SUNCC__ Sun CC
56__XLC__ ?? compiler
57
58wxWindows modes:
59----------------
60
61__WXDEBUG__ usage: #ifdef __WXDEBUG__ (=> debug mode, else => release)
62WXDEBUG usage: #if DEBUG (0: release, 1: minimal debug code, ...)
63