# endif
#endif /* !defined(wxUSE_CONSOLE_EVENTLOOP) */
-#ifndef wxUSE_CRASHREPORT
- /* this one is special: as currently it is Windows-only, don't force it
- to be defined on other platforms */
-# if defined(wxABORT_ON_CONFIG_ERROR) && defined(__WXMSW__)
-# error "wxUSE_CRASHREPORT must be defined."
-# else
-# define wxUSE_CRASHREPORT 0
-# endif
-#endif /* !defined(wxUSE_CRASHREPORT) */
-
#ifndef wxUSE_DYNLIB_CLASS
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_DYNLIB_CLASS must be defined."
# endif
#endif /* !defined(wxUSE_ACCEL) */
+#ifndef wxUSE_ACCESSIBILITY
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_ACCESSIBILITY must be defined."
+# else
+# define wxUSE_ACCESSIBILITY 0
+# endif
+#endif /* !defined(wxUSE_ACCESSIBILITY) */
+
#ifndef wxUSE_ANIMATIONCTRL
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_ANIMATIONCTRL must be defined."
# endif
#endif /* !defined(wxUSE_DOC_VIEW_ARCHITECTURE) */
+#ifndef wxUSE_FILECTRL
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_FILECTRL must be defined."
+# else
+# define wxUSE_FILECTRL 0
+# endif
+#endif /* !defined(wxUSE_FILECTRL) */
+
#ifndef wxUSE_FILEDLG
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_FILEDLG must be defined."
# endif
#endif /* wxUSE_ARCHIVE_STREAMS */
-#if wxUSE_CRASHREPORT && !wxUSE_ON_FATAL_EXCEPTION
-# ifdef wxABORT_ON_CONFIG_ERROR
-# error "wxUSE_CRASHREPORT requires wxUSE_ON_FATAL_EXCEPTION"
-# else
-# undef wxUSE_CRASHREPORT
-# define wxUSE_CRASHREPORT 0
-# endif
-#endif /* wxUSE_CRASHREPORT */
-
#if wxUSE_PROTOCOL_FILE || wxUSE_PROTOCOL_FTP || wxUSE_PROTOCOL_HTTP
# if !wxUSE_PROTOCOL
# ifdef wxABORT_ON_CONFIG_ERROR
# endif
#endif /* wxUSE_MIMETYPE */
-#if wxUSE_ODBC
-# if !wxUSE_DATETIME
-# ifdef wxABORT_ON_CONFIG_ERROR
-# error "wxODBC requires wxUSE_DATETIME"
-# else
-# undef wxUSE_ODBC
-# define wxUSE_ODBC 0
-# endif
-# endif
-#endif /* wxUSE_ODBC */
-
#if wxUSE_TEXTFILE && !wxUSE_TEXTBUFFER
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_TEXTFILE requires wxUSE_TEXTBUFFER"
*/
#if wxUSE_GUI
+#if wxUSE_ACCESSIBILITY && !defined(__WXMSW__)
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_ACCESSIBILITY is currently only supported under wxMSW"
+# else
+# undef wxUSE_ACCESSIBILITY
+# define wxUSE_ACCESSIBILITY 0
+# endif
+#endif /* wxUSE_ACCESSIBILITY */
+
#if wxUSE_BUTTON || \
wxUSE_CALENDARCTRL || \
wxUSE_CARET || \
# endif
#endif /* !wxMSW || wxUniv */
+/* generic file dialog depends on (generic) file control */
+#if wxUSE_FILEDLG && !wxUSE_FILECTRL && \
+ (defined(__WXUNIVERSAL__) || defined(__WXGTK__))
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "Generic wxFileDialog requires wxFileCtrl"
+# else
+# undef wxUSE_FILECTRL
+# define wxUSE_FILECTRL 1
+# endif
+#endif /* wxUSE_FILEDLG */
+
/* common dependencies */
#if wxUSE_CALENDARCTRL
# if !(wxUSE_SPINBTN && wxUSE_COMBOBOX)
# define wxUSE_DATAVIEWCTRL 0
# endif
# endif
-
-# if wxUSE_ODBC
-# ifdef wxABORT_ON_CONFIG_ERROR
-# error "wxUSE_ODBC requires wxVariant"
-# else
-# undef wxUSE_ODBC
-# define wxUSE_ODBC 0
-# endif
-# endif
#endif /* wxUSE_VARIANT */
#endif /* wxUSE_GUI */