]> git.saurik.com Git - wxWidgets.git/blob - include/wx/setup.h
This is how wxPlotWindow would look like with the
[wxWidgets.git] / include / wx / setup.h
1 /*
2 * The main configuration file for wxWindows.
3 *
4 * NB: this file can be included in .c files, so it must be compileable by a C
5 * compiler - use #ifdef __cplusplus for C++ specific features and avoid
6 * using C++ style comments
7 */
8
9 #ifndef _WX_SETUP_H_BASE_
10 #define _WX_SETUP_H_BASE_
11
12 /* compatibility code, to be removed asap: */
13
14 #if !defined(__WXBASE__) && !defined(__WXMSW__) && !defined(__WXGTK__) && !defined(__WXMOTIF__) && !defined(__WXQT__) && !defined(__WXSTUBS__) && !defined(__WXMAC__) && !defined(__WXPM__)
15 #error No __WXxxx__ define set! Please define one of __WXBASE__,__WXGTK__,__WXMSW__,__WXMOTIF__,__WXMAC__,__WXQT__,__WXPM__,__WXSTUBS__
16 #endif
17
18 #ifdef __WXBASE__
19 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
20 #include "wx/based/setup.h"
21 #else
22 #include "wx/base/setup.h"
23 #endif
24
25 #elif defined(__VMS)
26 #include "wx_root:[wxwindows]setup.h"
27 #elif defined(__WXMSW__)
28 #include "wx/msw/setup.h"
29 #elif defined(__WXMAC__)
30 #include "wx/mac/setup.h"
31
32 #elif defined(__WXQT__)
33 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
34 #include "wx/qtd/setup.h"
35 #else
36 #include "wx/qt/setup.h"
37 #endif
38
39 #elif defined(__WXMOTIF__)
40 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
41 #include "wx/motifd/setup.h"
42 #else
43 #include "wx/motif/setup.h"
44 #endif
45
46 #elif defined(__WXPM__)
47 #include "wx/os2/setup.h"
48 #elif defined(__WXSTUBS__)
49 #include "wx/stubs/setup.h"
50
51 #elif defined(__WXGTK__)
52 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
53 #include "wx/gtkd/setup.h"
54 #else
55 #include "wx/gtk/setup.h"
56 #endif
57
58 #endif
59 #endif
60 /* _WX_SETUP_H_BASE_ */