]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/chkconf.h
added template wxScopedArray<> too
[wxWidgets.git] / include / wx / chkconf.h
index 21497874b1f7c49761d60c9d0b6f1220c8bcef0a..65a6c2b17214c8bae2c7b6a72689bcc8bf0a1cf8 100644 (file)
 #   endif
 #endif /* !defined(wxUSE_HELP) */
 
-#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_HYPERLINKCTRL
 #   ifdef wxABORT_ON_CONFIG_ERROR
 #       error "wxUSE_HYPERLINKCTRL must be defined."
 #   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