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