]> git.saurik.com Git - wxWidgets.git/blob - include/wx/setup.h
Added possibility of 2-step initialisation, and wxWIZARD_EX_HELPBUTTON style.
[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 /*
19 wxUniversal is defined together with one of other ports, so test for it
20 first
21 */
22 #ifdef __WXUNIVERSAL__
23 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
24 #include "wx/univd/setup.h"
25 #else
26 #include "wx/univ/setup.h"
27 #endif
28
29 #elif defined(__WXBASE__)
30 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
31 #include "wx/based/setup.h"
32 #else
33 #include "wx/base/setup.h"
34 #endif
35
36 #elif defined(__VMS)
37 #include "wx_root:[wxwindows]setup.h"
38 #elif defined(__WXMSW__)
39 #include "wx/msw/setup.h"
40 #elif defined(__WXMAC__)
41 #include "wx/mac/setup.h"
42
43 #elif defined(__WXQT__)
44 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
45 #include "wx/qtd/setup.h"
46 #else
47 #include "wx/qt/setup.h"
48 #endif
49
50 #elif defined(__WXMOTIF__)
51 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
52 #include "wx/motifd/setup.h"
53 #else
54 #include "wx/motif/setup.h"
55 #endif
56
57 #elif defined(__WXPM__)
58 #include "wx/os2/setup.h"
59 #elif defined(__WXSTUBS__)
60 #include "wx/stubs/setup.h"
61
62 #elif defined(__WXGTK__)
63 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
64 #include "wx/gtkd/setup.h"
65 #else
66 #include "wx/gtk/setup.h"
67 #endif
68
69 #endif
70
71 #include "wx/chkconf.h"
72
73 /*
74 define some constants identifying wxWindows version in more details than
75 just the version number
76 */
77
78 // wxLogChain class available
79 #define wxHAS_LOG_CHAIN
80
81 // define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK
82 #undef wxHAS_WORKING_GTK_DC_BLIT
83
84 #endif /* _WX_SETUP_H_BASE_ */