]> git.saurik.com Git - wxWidgets.git/blame - docs/symbols.txt
wxPython doc 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
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
641d87d8 14__WXPM__ OS/2 native Presentation Manager
c801d85f 15__UNIX__ any Unix
31276cb5
RR
16__WINDOWS__ any Windows
17__WIN95__ GUI for Windows 95 and above; NT 4.0 and above.
18__WIN32__ WIN32 API
19__NT__ Windows NT
20__WXCURSES__ CURSES
21__WXSTUBS__ Stubbed version ('template' wxWin implementation)
22
23In fact, they should better all start with __WX instead of __ only.
24The only GUIs implemented for 2.0 are __WXGTK__, __WXMSW__ and __WXMOTIF__
25yet. Any new ones, please start the define with __WX.
26
27OSes/machines:
28
29__HPUX__
30__SVR4__
31__SYSV__
32__LINUX__
33__SGI__
34__ULTRIX__
35__BSD__
36__VMS__
37__SUN__ Any Sun
38__SUNOS__
39__SOLARIS__
40__ALPHA__
41__AIX__
42__DATA_GENERAL__
43__OSF__
44__FREEBSD__
45
46Compilers:
47----------
48
49__GNUWIN32__ Gnu-Win32 compiler
50__DJGPP__ DJGPP
51__GNUG__ Gnu C++ on any platform
52__BORLANDC__ Borland C++
53__WATCOMC__ Watcom C++
54__SYMANTECC__ Symantec C++
55__VISUALC__ VC++
56__SUNCC__ Sun CC
57__XLC__ ?? compiler
58
59wxWindows modes:
60----------------
61
62__WXDEBUG__ usage: #ifdef __WXDEBUG__ (=> debug mode, else => release)
63WXDEBUG usage: #if DEBUG (0: release, 1: minimal debug code, ...)
64