]> git.saurik.com Git - wxWidgets.git/blob - include/wx/setup.h
corrected wxICON for Mac OS (Classic and X)
[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 // wxUniversal is defined together with one of other ports, so test for it
19 // first
20 #ifdef __WXUNIVERSAL__
21 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
22 #include "wx/univd/setup.h"
23 #else
24 #include "wx/univ/setup.h"
25 #endif
26
27 #elif defined(__WXBASE__)
28 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
29 #include "wx/based/setup.h"
30 #else
31 #include "wx/base/setup.h"
32 #endif
33
34 #elif defined(__VMS)
35 #include "wx_root:[wxwindows]setup.h"
36 #elif defined(__WXMSW__)
37 #include "wx/msw/setup.h"
38 #elif defined(__WXMAC__)
39 #include "wx/mac/setup.h"
40
41 #elif defined(__WXQT__)
42 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
43 #include "wx/qtd/setup.h"
44 #else
45 #include "wx/qt/setup.h"
46 #endif
47
48 #elif defined(__WXMOTIF__)
49 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
50 #include "wx/motifd/setup.h"
51 #else
52 #include "wx/motif/setup.h"
53 #endif
54
55 #elif defined(__WXPM__)
56 #include "wx/os2/setup.h"
57 #elif defined(__WXSTUBS__)
58 #include "wx/stubs/setup.h"
59
60 #elif defined(__WXGTK__)
61 #if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
62 #include "wx/gtkd/setup.h"
63 #else
64 #include "wx/gtk/setup.h"
65 #endif
66
67 #endif
68
69 #include "chkconf.h"
70
71 #endif /* _WX_SETUP_H_BASE_ */