]> git.saurik.com Git - wxWidgets.git/blame - include/wx/setup.h
another compilation fix
[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
07eb77a6
RL
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__
2049ba38
KB
16#endif
17
07eb77a6 18#ifdef __WXBASE__
f6bcfd97
BP
19#if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
20#include "wx/based/setup.h"
21#else
07eb77a6 22#include "wx/base/setup.h"
f6bcfd97
BP
23#endif
24
07eb77a6 25#elif defined(__VMS)
cd636103 26#include "wx_root:[wxwindows]setup.h"
7f4791dd 27#elif defined(__WXMSW__)
c801d85f 28#include "wx/msw/setup.h"
34138703
JS
29#elif defined(__WXMAC__)
30#include "wx/mac/setup.h"
f6bcfd97 31
34138703 32#elif defined(__WXQT__)
f6bcfd97
BP
33#if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
34#include "wx/qtd/setup.h"
35#else
34138703 36#include "wx/qt/setup.h"
f6bcfd97
BP
37#endif
38
34138703 39#elif defined(__WXMOTIF__)
f6bcfd97
BP
40#if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
41#include "wx/motifd/setup.h"
42#else
34138703 43#include "wx/motif/setup.h"
f6bcfd97
BP
44#endif
45
1777b9bb
DW
46#elif defined(__WXPM__)
47#include "wx/os2/setup.h"
34138703
JS
48#elif defined(__WXSTUBS__)
49#include "wx/stubs/setup.h"
f6bcfd97 50
34138703 51#elif defined(__WXGTK__)
f6bcfd97
BP
52#if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
53#include "wx/gtkd/setup.h"
54#else
c98f0421 55#include "wx/gtk/setup.h"
c801d85f
KB
56#endif
57
f6bcfd97 58#endif
5d5de0b6 59#endif
c67daf87 60 /* _WX_SETUP_H_BASE_ */