1999-10-18 11:14:52 -04:00
|
|
|
/*
|
|
|
|
* The main configuration file for wxWindows.
|
|
|
|
*
|
|
|
|
* NB: this file can be included in .c files, so it must be compileable by a C
|
|
|
|
* compiler - use #ifdef __cplusplus for C++ specific features and avoid
|
|
|
|
* using C++ style comments
|
|
|
|
*/
|
1998-05-20 10:01:55 -04:00
|
|
|
|
1998-08-14 20:23:28 -04:00
|
|
|
#ifndef _WX_SETUP_H_BASE_
|
|
|
|
#define _WX_SETUP_H_BASE_
|
1998-05-20 10:01:55 -04:00
|
|
|
|
1998-08-22 23:22:56 -04:00
|
|
|
/* compatibility code, to be removed asap: */
|
1998-07-10 10:15:17 -04:00
|
|
|
|
2000-02-24 07:20:22 -05:00
|
|
|
#if !defined(__WXBASE__) && !defined(__WXMSW__) && !defined(__WXGTK__) && !defined(__WXMOTIF__) && !defined(__WXQT__) && !defined(__WXSTUBS__) && !defined(__WXMAC__) && !defined(__WXPM__)
|
|
|
|
#error No __WXxxx__ define set! Please define one of __WXBASE__,__WXGTK__,__WXMSW__,__WXMOTIF__,__WXMAC__,__WXQT__,__WXPM__,__WXSTUBS__
|
1998-07-10 10:15:17 -04:00
|
|
|
#endif
|
|
|
|
|
2001-06-26 16:59:19 -04:00
|
|
|
// wxUniversal is defined together with one of other ports, so test for it
|
|
|
|
// first
|
|
|
|
#ifdef __WXUNIVERSAL__
|
|
|
|
#if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
|
|
|
|
#include "wx/univd/setup.h"
|
|
|
|
#else
|
|
|
|
#include "wx/univ/setup.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#elif defined(__WXBASE__)
|
2000-07-15 15:51:35 -04:00
|
|
|
#if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
|
|
|
|
#include "wx/based/setup.h"
|
|
|
|
#else
|
2000-02-24 07:20:22 -05:00
|
|
|
#include "wx/base/setup.h"
|
2000-07-15 15:51:35 -04:00
|
|
|
#endif
|
|
|
|
|
2000-02-24 07:20:22 -05:00
|
|
|
#elif defined(__VMS)
|
1999-11-25 08:41:50 -05:00
|
|
|
#include "wx_root:[wxwindows]setup.h"
|
1999-11-12 09:31:59 -05:00
|
|
|
#elif defined(__WXMSW__)
|
1998-05-20 10:01:55 -04:00
|
|
|
#include "wx/msw/setup.h"
|
1998-08-14 20:23:28 -04:00
|
|
|
#elif defined(__WXMAC__)
|
|
|
|
#include "wx/mac/setup.h"
|
2000-07-15 15:51:35 -04:00
|
|
|
|
1998-08-14 20:23:28 -04:00
|
|
|
#elif defined(__WXQT__)
|
2000-07-15 15:51:35 -04:00
|
|
|
#if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
|
|
|
|
#include "wx/qtd/setup.h"
|
|
|
|
#else
|
1998-08-14 20:23:28 -04:00
|
|
|
#include "wx/qt/setup.h"
|
2000-07-15 15:51:35 -04:00
|
|
|
#endif
|
|
|
|
|
1998-08-14 20:23:28 -04:00
|
|
|
#elif defined(__WXMOTIF__)
|
2000-07-15 15:51:35 -04:00
|
|
|
#if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
|
|
|
|
#include "wx/motifd/setup.h"
|
|
|
|
#else
|
1998-08-14 20:23:28 -04:00
|
|
|
#include "wx/motif/setup.h"
|
2000-07-15 15:51:35 -04:00
|
|
|
#endif
|
|
|
|
|
1999-07-27 23:38:12 -04:00
|
|
|
#elif defined(__WXPM__)
|
|
|
|
#include "wx/os2/setup.h"
|
1998-08-14 20:23:28 -04:00
|
|
|
#elif defined(__WXSTUBS__)
|
|
|
|
#include "wx/stubs/setup.h"
|
2000-07-15 15:51:35 -04:00
|
|
|
|
1998-08-14 20:23:28 -04:00
|
|
|
#elif defined(__WXGTK__)
|
2000-07-15 15:51:35 -04:00
|
|
|
#if defined(__USE_WXCONFIG__) && defined(__WXDEBUG__)
|
|
|
|
#include "wx/gtkd/setup.h"
|
|
|
|
#else
|
1998-09-03 09:58:56 -04:00
|
|
|
#include "wx/gtk/setup.h"
|
1998-05-20 10:01:55 -04:00
|
|
|
#endif
|
|
|
|
|
2000-07-15 15:51:35 -04:00
|
|
|
#endif
|
2001-06-26 16:59:19 -04:00
|
|
|
|
2001-06-27 17:31:12 -04:00
|
|
|
#include "wx/chkconf.h"
|
2001-06-26 16:59:19 -04:00
|
|
|
|
|
|
|
#endif /* _WX_SETUP_H_BASE_ */
|