]> git.saurik.com Git - wxWidgets.git/blob - docs/symbols.txt
menu sample added
[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 __WXPM__ OS/2 native Presentation Manager
15 __UNIX__ any Unix
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
23 In fact, they should better all start with __WX instead of __ only.
24 The only GUIs implemented for 2.0 are __WXGTK__, __WXMSW__ and __WXMOTIF__
25 yet. Any new ones, please start the define with __WX.
26
27 OSes/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
46 Compilers:
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
59 wxWindows modes:
60 ----------------
61
62 __WXDEBUG__ usage: #ifdef __WXDEBUG__ (=> debug mode, else => release)
63 WXDEBUG usage: #if DEBUG (0: release, 1: minimal debug code, ...)
64