* Created: 09.08.00
* RCS-ID: $Id$
* Copyright: (c) 2000 Vadim Zeitlin <vadim@wxwindows.org>
- * Licence: wxWindows license
+ * Licence: wxWindows licence
*/
/* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
/*
- this global setting determintes what should we do if the setting FOO
+ this global setting determines what should we do if the setting FOO
requires BAR and BAR is not set: we can either silently define BAR
(default, recommended) or give an error and abort (mainly useful for
- developpers only)
+ developers only)
*/
#define wxABORT_ON_CONFIG_ERROR
# endif
#endif /* !defined(wxUSE_MIMETYPE) */
+#ifndef wxUSE_PROLOGIO
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_PROLOGIO must be defined."
+# else
+# define wxUSE_PROLOGIO 0
+# endif
+#endif /* !defined(wxUSE_PROLOGIO) */
+
#ifndef wxUSE_PROTOCOL
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_PROTOCOL must be defined."
# endif
#endif /* !defined(wxUSE_TREECTRL) */
+#ifndef wxUSE_WX_RESOURCES
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_WX_RESOURCES must be defined."
+# else
+# define wxUSE_WX_RESOURCES 0
+# endif
+#endif /* !defined(wxUSE_WX_RESOURCES) */
+
#ifndef wxUSE_WXHTML_HELP
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_WXHTML_HELP must be defined."
# undef wxUSE_TAB_DIALOG
# define wxUSE_TAB_DIALOG 1
#endif
-#if defined(__WXMOTIF__) && wxUSE_TOGGLEBTN
-# undef wxUSE_TOGGLEBTN
-# define wxUSE_TOGGLEBTN 0
-#endif
/* wxMGL-specific dependencies */
#ifdef __WXMGL__
# define wxUSE_COMBOBOX 1
# endif
# endif
+
+# if !wxUSE_DATETIME
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxCalendarCtrl requires wxUSE_DATETIME"
+# else
+# undef wxUSE_DATETIME
+# define wxUSE_DATETIME 1
+# endif
+# endif
#endif /* wxUSE_CALENDARCTRL */
#if wxUSE_CHECKLISTBOX
#endif /* wxUSE_RADIOBTN */
#if wxUSE_WXHTML_HELP
-# if !wxUSE_HELP || !wxUSE_HTML || !wxUSE_COMBOBOX
+# if !wxUSE_HELP || !wxUSE_HTML || !wxUSE_COMBOBOX || !wxUSE_NOTEBOOK
# ifdef wxABORT_ON_CONFIG_ERROR
# error "Built in help controller can't be compiled"
# else
# define wxUSE_HTML 1
# undef wxUSE_COMBOBOX
# define wxUSE_COMBOBOX 1
+# undef wxUSE_NOTEBOOK
+# define wxUSE_NOTEBOOK 1
# endif
# endif
#endif /* wxUSE_WXHTML_HELP */
+#if wxUSE_DOC_VIEW_ARCHITECTURE
+# if !wxUSE_MENUS
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "DocView requires wxUSE_MENUS"
+# else
+# undef wxUSE_MENUS
+# define wxUSE_MENUS 1
+# endif
+# endif
+
+# if !wxUSE_STREAMS && !wxUSE_STD_IOSTREAM
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "DocView requires wxUSE_STREAMS or wxUSE_STD_IOSTREAM"
+# else
+# undef wxUSE_STREAMS
+# define wxUSE_STREAMS 1
+# endif
+# endif
+#endif /* wxUSE_DOC_VIEW_ARCHITECTURE */
+
#if wxUSE_PRINTING_ARCHITECTURE
# if !wxUSE_COMBOBOX
# ifdef wxABORT_ON_CONFIG_ERROR
# define wxUSE_COMBOBOX 1
# endif
# endif
+
+# if !wxUSE_DOC_VIEW_ARCHITECTURE
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "Print architecture requires wxUSE_DOC_VIEW_ARCHITECTURE"
+# else
+# undef wxUSE_DOC_VIEW_ARCHITECTURE
+# define wxUSE_DOC_VIEW_ARCHITECTURE 1
+# endif
+# endif
#endif /* wxUSE_PRINTING_ARCHITECTURE */
-#if wxUSE_DOC_VIEW_ARCHITECTURE
-# if !wxUSE_MENUS
+#if wxUSE_MDI_ARCHITECTURE
+# if !wxUSE_DOC_VIEW_ARCHITECTURE
# ifdef wxABORT_ON_CONFIG_ERROR
-# error "DocView requires wxUSE_MENUS"
+# error "MDI requires wxUSE_DOC_VIEW_ARCHITECTURE"
# else
-# undef wxUSE_MENUS
-# define wxUSE_MENUS 1
+# undef wxUSE_DOC_VIEW_ARCHITECTURE
+# define wxUSE_DOC_VIEW_ARCHITECTURE 1
# endif
# endif
-#endif /* wxUSE_DOC_VIEW_ARCHITECTURE */
+#endif /* wxUSE_MDI_ARCHITECTURE */
#if !wxUSE_FILEDLG
# if wxUSE_DOC_VIEW_ARCHITECTURE || wxUSE_WXHTML_HELP
# endif
#endif /* wxUSE_CLIPBOARD */
+#if wxUSE_WX_RESOURCES && !wxUSE_PROLOGIO
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxr resources require PrologIO"
+# else
+# undef wxUSE_PROLOGIO
+# define wxUSE_PROLOGIO 1
+# endif
+#endif /* wxUSE_WX_RESOURCES */
+
#endif /* wxUSE_GUI */