1998-05-20 14:01:55 +00:00
|
|
|
This is a list of preprocessor symbols used in the wxWindows source.
|
|
|
|
|
|
|
|
GUIs:
|
|
|
|
-----
|
|
|
|
|
|
|
|
__X__ any X, but not GTK
|
1998-08-15 00:23:28 +00:00
|
|
|
__WXMOTIF__ Motif
|
|
|
|
__WXXT__ Xt; mutually exclusive with WX_MOTIF (?)
|
|
|
|
__WXGTK__ GTK
|
|
|
|
__WXMSW__ Any Windows
|
|
|
|
__WXMAC__ MacOS
|
1998-05-20 14:01:55 +00:00
|
|
|
__UNIX__ any Unix
|
1998-08-15 00:23:28 +00:00
|
|
|
__WINDOWS__ any Windows
|
1998-05-20 14:01:55 +00:00
|
|
|
__WIN95__ GUI for Windows 95 and above; NT 4.0 and above.
|
|
|
|
__WIN32__ WIN32 API
|
|
|
|
__NT__ Windows NT
|
1998-08-15 00:23:28 +00:00
|
|
|
__WXCURSES__ CURSES
|
|
|
|
__WXSTUBS__ Stubbed version ('template' wxWin implementation)
|
1998-05-20 14:01:55 +00:00
|
|
|
|
1998-07-10 14:15:17 +00:00
|
|
|
In fact, they should better all start with __WX instead of __ only.
|
|
|
|
The only GUIs implemented for 2.0 are __WXGTK__, __WXMSW__ and __WXMOTIF__
|
|
|
|
yet. Any new ones, please start the define with __WX.
|
|
|
|
|
1998-05-20 14:01:55 +00:00
|
|
|
OSes/machines:
|
|
|
|
|
|
|
|
__HPUX__
|
|
|
|
__SVR4__
|
|
|
|
__SYSV__
|
|
|
|
__LINUX__
|
|
|
|
__SGI__
|
|
|
|
__ULTRIX__
|
|
|
|
__BSD__
|
|
|
|
__VMS__
|
|
|
|
__SUN__ Any Sun
|
|
|
|
__SUNOS__
|
|
|
|
__SOLARIS__
|
|
|
|
__ALPHA__
|
|
|
|
__AIX__
|
|
|
|
__DATA_GENERAL__
|
|
|
|
__OSF__
|
|
|
|
__FREEBSD__
|
|
|
|
|
|
|
|
Compilers:
|
|
|
|
----------
|
|
|
|
|
|
|
|
__GNUWIN32__ Gnu-Win32 compiler
|
|
|
|
__DJGPP__ DJGPP
|
|
|
|
__GNUG__ Gnu C++ on any platform
|
|
|
|
__BORLANDC__ Borland C++
|
|
|
|
__WATCOMC__ Watcom C++
|
|
|
|
__SYMANTECC__ Symantec C++
|
|
|
|
__VISUALC__ VC++
|
|
|
|
__SUNCC__
|
|
|
|
__XLC__ ?? compiler
|
|
|
|
|
|
|
|
wxWindows modes:
|
|
|
|
----------------
|
|
|
|
|
1998-07-10 12:06:03 +00:00
|
|
|
__WXDEBUG__ usage: #ifdef __DEBUG__ (=> debug mode, else => release)
|
1998-05-20 14:01:55 +00:00
|
|
|
WXDEBUG usage: #if DEBUG (0: release, 1: minimal debug code, ...)
|
|
|
|
|