this global setting determines what should we do if the setting FOO
requires BAR and BAR is not set: we can either silently unset FOO as well
(do this if you're trying to build the smallest possible library) or give an
- error and abort (default as leads to least surprizing behaviour)
+ error and abort (default as leads to least surprising behaviour)
*/
#define wxABORT_ON_CONFIG_ERROR
# endif
#endif /* !defined(wxUSE_EXCEPTIONS) */
+#ifndef wxUSE_FILE_HISTORY
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_FILE_HISTORY must be defined, please read comment near the top of this file."
+# else
+# define wxUSE_FILE_HISTORY 0
+# endif
+#endif /* !defined(wxUSE_FILE_HISTORY) */
+
#ifndef wxUSE_FILESYSTEM
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_FILESYSTEM must be defined, please read comment near the top of this file."
# endif
#endif /* !defined(wxUSE_COMBOBOX) */
+#ifndef wxUSE_COMMANDLINKBUTTON
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_COMMANDLINKBUTTON must be defined, please read comment near the top of this file."
+# else
+# define wxUSE_COMMANDLINKBUTTON 0
+# endif
+#endif /* !defined(wxUSE_COMMANDLINKBUTTON) */
+
#ifndef wxUSE_COMBOCTRL
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_COMBOCTRL must be defined, please read comment near the top of this file."
# endif
#endif /* !defined(wxUSE_RIBBON) */
+#ifndef wxUSE_RICHMSGDLG
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_RICHMSGDLG must be defined, please read comment near the top of this file."
+# else
+# define wxUSE_RICHMSGDLG 0
+# endif
+#endif /* !defined(wxUSE_RIBBON) */
+
#ifndef wxUSE_SASH
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_SASH must be defined, please read comment near the top of this file."
# endif
#endif /* !defined(wxUSE_TREECTRL) */
+#ifndef wxUSE_UIACTIONSIMULATOR
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_UIACTIONSIMULATOR must be defined, please read comment near the top of this file."
+# else
+# define wxUSE_UIACTIONSIMULATOR 0
+# endif
+#endif /* !defined(wxUSE_UIACTIONSIMULATOR) */
+
#ifndef wxUSE_VALIDATORS
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_VALIDATORS must be defined, please read comment near the top of this file."
# endif
#endif /* wxUSE_TEXTFILE */
-#if wxUSE_XML && !wxUSE_WCHAR_T
-# ifdef wxABORT_ON_CONFIG_ERROR
-# error "wxUSE_XML requires wxUSE_WCHAR_T"
-# else
-# undef wxUSE_XML
-# define wxUSE_XML 0
-# endif
-#endif /* wxUSE_XML */
-
#if !wxUSE_DYNLIB_CLASS
# if wxUSE_DYNAMIC_LOADER
# ifdef wxABORT_ON_CONFIG_ERROR
# endif
#endif /* wxUSE_BMPBUTTON */
+#if wxUSE_COMMANDLINKBUTTON
+# if !wxUSE_BUTTON
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_COMMANDLINKBUTTON requires wxUSE_BUTTON"
+# else
+# undef wxUSE_BUTTON
+# define wxUSE_BUTTON 1
+# endif
+# endif
+#endif /* wxUSE_COMMANDLINKBUTTON */
+
/*
wxUSE_BOOKCTRL should be only used if any of the controls deriving from it
are used
# endif
#endif /* wxUSE_REARRANGECTRL */
+#if wxUSE_RICHMSGDLG
+# if !wxUSE_MSGDLG
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_RICHMSGDLG requires wxUSE_MSGDLG"
+# else
+# undef wxUSE_MSGDLG
+# define wxUSE_MSGDLG 1
+# endif
+# endif
+#endif /* wxUSE_RICHMSGDLG */
+
/* don't attempt to use native status bar on the platforms not having it */
#ifndef wxUSE_NATIVE_STATUSBAR
# define wxUSE_NATIVE_STATUSBAR 0
# define wxUSE_STREAMS 1
# endif
# endif
+
+# if !wxUSE_FILE_HISTORY
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "DocView requires wxUSE_FILE_HISTORY"
+# else
+# undef wxUSE_FILE_HISTORY
+# define wxUSE_FILE_HISTORY 1
+# endif
+# endif
#endif /* wxUSE_DOC_VIEW_ARCHITECTURE */
#if wxUSE_PRINTING_ARCHITECTURE