# endif
#endif /* !defined(wxUSE_GRID) */
+#ifndef wxUSE_HEADERCTRL
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_HEADERCTRL must be defined."
+# else
+# define wxUSE_HEADERCTRL 0
+# endif
+#endif /* !defined(wxUSE_HEADERCTRL) */
+
#ifndef wxUSE_HELP
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_HELP must be defined."
# endif
#endif /* !defined(wxUSE_RADIOBTN) */
+#ifndef wxUSE_REARRANGECTRL
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_REARRANGECTRL must be defined."
+# else
+# define wxUSE_REARRANGECTRL 0
+# endif
+#endif /* !defined(wxUSE_REARRANGECTRL) */
+
#ifndef wxUSE_SASH
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_SASH must be defined."
wxUSE_CHOICE || \
wxUSE_GAUGE || \
wxUSE_GRID || \
+ wxUSE_HEADERCTRL || \
wxUSE_LISTBOX || \
wxUSE_LISTCTRL || \
wxUSE_NOTEBOOK || \
wxUSE_RADIOBOX || \
wxUSE_RADIOBTN || \
+ wxUSE_REARRANGECTRL || \
wxUSE_SCROLLBAR || \
wxUSE_SLIDER || \
wxUSE_SPINBTN || \
#if !wxUSE_ODCOMBOBOX
# if wxUSE_BITMAPCOMBOBOX
-# error "wxBitmapComboBox requires wxOwnerDrawnComboBox"
-# else
-# undef wxUSE_BITMAPCOMBOBOX
-# define wxUSE_BITMAPCOMBOBOX 0
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxBitmapComboBox requires wxOwnerDrawnComboBox"
+# else
+# undef wxUSE_BITMAPCOMBOBOX
+# define wxUSE_BITMAPCOMBOBOX 0
+# endif
# endif
#endif /* !wxUSE_ODCOMBOBOX */
+#if !wxUSE_HEADERCTRL
+# if wxUSE_DATAVIEWCTRL || wxUSE_GRID
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxDataViewCtrl and wxGrid require wxHeaderCtrl"
+# else
+# undef wxUSE_HEADERCTRL
+# define wxUSE_HEADERCTRL 1
+# endif
+# endif
+#endif /* !wxUSE_HEADERCTRL */
+
+#if wxUSE_REARRANGECTRL
+# if !wxUSE_CHECKLISTBOX
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxRearrangeCtrl requires wxCheckListBox"
+# else
+# undef wxUSE_REARRANGECTRL
+# define wxUSE_REARRANGECTRL 0
+# endif
+# endif
+#endif /* wxUSE_REARRANGECTRL */
+
/* don't attempt to use native status bar on the platforms not having it */
#ifndef wxUSE_NATIVE_STATUSBAR
# define wxUSE_NATIVE_STATUSBAR 0