]> git.saurik.com Git - wxWidgets.git/blame - include/wx/setup.h
a more easy to use version of wxGetHomeDir() added
[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
1777b9bb 14#if !defined(__WXMSW__) && !defined(__WXGTK__) && !defined(__WXMOTIF__) && !defined(__WXQT__) && !defined(__WXSTUBS__) && !defined(__WXMAC__) && !defined(__WXPM__)
72cdf4c9 15#error No __WXxxx__ define set! Please define one of __WXGTK__,__WXMSW__,__WXMOTIF__,__WXMAC__,__WXQT__,__WXPM__,__WXSTUBS__
2049ba38
KB
16#endif
17
4900c039 18#ifdef __VMS
cd636103 19#include "wx_root:[wxwindows]setup.h"
7f4791dd 20#elif defined(__WXMSW__)
c801d85f 21#include "wx/msw/setup.h"
34138703
JS
22#elif defined(__WXMAC__)
23#include "wx/mac/setup.h"
24#elif defined(__WXQT__)
25#include "wx/qt/setup.h"
26#elif defined(__WXMOTIF__)
27#include "wx/motif/setup.h"
1777b9bb
DW
28#elif defined(__WXPM__)
29#include "wx/os2/setup.h"
34138703
JS
30#elif defined(__WXSTUBS__)
31#include "wx/stubs/setup.h"
32#elif defined(__WXGTK__)
c98f0421 33#include "wx/gtk/setup.h"
c801d85f
KB
34#endif
35
5d5de0b6 36#endif
c67daf87 37 /* _WX_SETUP_H_BASE_ */