]> git.saurik.com Git - wxWidgets.git/blob - docs/symbols.txt
Minor improvement.
[wxWidgets.git] / docs / symbols.txt
1 This is a list of preprocessor symbols used in the wxWindows source.
2
3 GUIs:
4 -----
5
6 __X__ any X, but not GTK
7 __WXMOTIF__ Motif
8 __WXXT__ Xt; mutually exclusive with WX_MOTIF (?)
9 __WXGTK__ GTK
10 __WXGTK12__ GTK 1.2 or higher
11 __WXMSW__ Any Windows
12 __WXWINE__ WINE (i.e. Win32 on Unix)
13 __WXMAC__ MacOS
14 __UNIX__ any Unix
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
22 In fact, they should better all start with __WX instead of __ only.
23 The only GUIs implemented for 2.0 are __WXGTK__, __WXMSW__ and __WXMOTIF__
24 yet. Any new ones, please start the define with __WX.
25
26 OSes/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
45 Compilers:
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
58 wxWindows modes:
59 ----------------
60
61 __WXDEBUG__ usage: #ifdef __WXDEBUG__ (=> debug mode, else => release)
62 WXDEBUG usage: #if DEBUG (0: release, 1: minimal debug code, ...)
63