]> git.saurik.com Git - wxWidgets.git/blame - include/wx/setup.h
Unicode compilation fixes.
[wxWidgets.git] / include / wx / setup.h
CommitLineData
72cdf4c9
VZ
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 */
c801d85f 8
34138703
JS
9#ifndef _WX_SETUP_H_BASE_
10#define _WX_SETUP_H_BASE_
c801d85f 11
c67daf87 12/* compatibility code, to be removed asap: */
2049ba38 13
6e711d5c
VZ
14#if !defined(__WXBASE__) && !defined(__WXMSW__) && !defined(__WXGTK__) && !defined(__WXMOTIF__) && !defined(__WXSTUBS__) && !defined(__WXMAC__) && !defined(__WXPM__)
15#error No __WXxxx__ define set! Please define one of __WXBASE__,__WXMSW__,__WXGTK__,__WXMOTIF__,__WXSTUBS__,__WXMAC__,__WXPM__
2049ba38
KB
16#endif
17
03147cd0
VZ
18/*
19 wxUniversal is defined together with one of other ports, so test for it
20 first
21 */
1e6feb95
VZ
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__)
f6bcfd97
BP
30#if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
31#include "wx/based/setup.h"
32#else
07eb77a6 33#include "wx/base/setup.h"
f6bcfd97
BP
34#endif
35
07eb77a6 36#elif defined(__VMS)
cd636103 37#include "wx_root:[wxwindows]setup.h"
7f4791dd 38#elif defined(__WXMSW__)
c801d85f 39#include "wx/msw/setup.h"
34138703
JS
40#elif defined(__WXMAC__)
41#include "wx/mac/setup.h"
f6bcfd97 42
34138703 43#elif defined(__WXMOTIF__)
f6bcfd97
BP
44#if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
45#include "wx/motifd/setup.h"
46#else
34138703 47#include "wx/motif/setup.h"
f6bcfd97
BP
48#endif
49
1777b9bb
DW
50#elif defined(__WXPM__)
51#include "wx/os2/setup.h"
34138703
JS
52#elif defined(__WXSTUBS__)
53#include "wx/stubs/setup.h"
f6bcfd97 54
34138703 55#elif defined(__WXGTK__)
f6bcfd97
BP
56#if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
57#include "wx/gtkd/setup.h"
58#else
c98f0421 59#include "wx/gtk/setup.h"
c801d85f
KB
60#endif
61
f6bcfd97 62#endif
1e6feb95 63
f39d60cc 64#include "wx/chkconf.h"
1e6feb95 65
03147cd0
VZ
66/*
67 define some constants identifying wxWindows version in more details than
68 just the version number
69 */
70
ae332f7c 71/* wxLogChain class available */
03147cd0
VZ
72#define wxHAS_LOG_CHAIN
73
ae332f7c 74/* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
03147cd0
VZ
75#undef wxHAS_WORKING_GTK_DC_BLIT
76
1e6feb95 77#endif /* _WX_SETUP_H_BASE_ */
ae332f7c 78