]> git.saurik.com Git - wxWidgets.git/blob - docs/symbols.txt
-somewhat more elegant method, supporting the src subdir (-Markus)
[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 __XT__ Xt; mutually exclusive with WX_MOTIF (?)
9 __WXGTK__ GTK
10 __XVIEW__ Obsolete!
11 __WXMSW__ Any Windows
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
19 In fact, they should better all start with __WX instead of __ only.
20 The only GUIs implemented for 2.0 are __WXGTK__, __WXMSW__ and __WXMOTIF__
21 yet. Any new ones, please start the define with __WX.
22
23 OSes/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
42 Compilers:
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
55 wxWindows modes:
56 ----------------
57
58 __WXDEBUG__ usage: #ifdef __DEBUG__ (=> debug mode, else => release)
59 WXDEBUG usage: #if DEBUG (0: release, 1: minimal debug code, ...)
60