]> git.saurik.com Git - wxWidgets.git/blame - docs/symbols.txt
OGL fixes; documentation fixes; dialog editor updates
[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
2049ba38 7__WXMOTIF__ Motif
c801d85f 8__XT__ Xt; mutually exclusive with WX_MOTIF (?)
2049ba38 9__WXGTK__ GTK
c801d85f 10__XVIEW__ Obsolete!
2049ba38 11__WXMSW__ Any Windows
c801d85f
KB
12__MAC__ MacOS
13__UNIX__ any Unix
14__WIN95__ GUI for Windows 95 and above; NT 4.0 and above.
15__WIN32__ WIN32 API
16__NT__ Windows NT
17__CURSES__ CURSES
18
2049ba38
KB
19In fact, they should better all start with __WX instead of __ only.
20The only GUIs implemented for 2.0 are __WXGTK__, __WXMSW__ and __WXMOTIF__
21yet. Any new ones, please start the define with __WX.
22
c801d85f
KB
23OSes/machines:
24
25__HPUX__
26__SVR4__
27__SYSV__
28__LINUX__
29__SGI__
30__ULTRIX__
31__BSD__
32__VMS__
33__SUN__ Any Sun
34__SUNOS__
35__SOLARIS__
36__ALPHA__
37__AIX__
38__DATA_GENERAL__
39__OSF__
40__FREEBSD__
41
42Compilers:
43----------
44
45__GNUWIN32__ Gnu-Win32 compiler
46__DJGPP__ DJGPP
47__GNUG__ Gnu C++ on any platform
48__BORLANDC__ Borland C++
49__WATCOMC__ Watcom C++
50__SYMANTECC__ Symantec C++
51__VISUALC__ VC++
52__SUNCC__
53__XLC__ ?? compiler
54
55wxWindows modes:
56----------------
57
8c43d1c8 58__WXDEBUG__ usage: #ifdef __DEBUG__ (=> debug mode, else => release)
c801d85f
KB
59WXDEBUG usage: #if DEBUG (0: release, 1: minimal debug code, ...)
60