# endif
#endif /* !defined(wxUSE_SOUND) */
-#ifndef wxUSE_MEDIACTRL
-# ifdef wxABORT_ON_CONFIG_ERROR
-# error "wxUSE_MEDIACTRL must be defined."
-# else
-# define wxUSE_MEDIACTRL 0
-# endif
-#endif /* !defined(wxUSE_MEDIACTRL) */
-
#ifndef wxUSE_SPINBTN
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_SPINBTN must be defined."
#endif /* wxUSE_HELP */
#if wxUSE_WXHTML_HELP
-# if !wxUSE_HELP || !wxUSE_HTML || !wxUSE_COMBOBOX || !wxUSE_NOTEBOOK
+# if !wxUSE_HELP || !wxUSE_HTML || !wxUSE_COMBOBOX || !wxUSE_NOTEBOOK || !wxUSE_SPINCTRL
# ifdef wxABORT_ON_CONFIG_ERROR
# error "Built in help controller can't be compiled"
# else
# define wxUSE_COMBOBOX 1
# undef wxUSE_NOTEBOOK
# define wxUSE_NOTEBOOK 1
+# undef wxUSE_SPINCTRL
+# define wxUSE_SPINCTRL 1
# endif
# endif
#endif /* wxUSE_WXHTML_HELP */
# endif
#endif /* wxUSE_FILEDLG */
+#if !wxUSE_GAUGE
+# if wxUSE_PROGRESSDLG
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "Progress dialog require wxUSE_GAUGE"
+# else
+# undef wxUSE_GAUGE
+# define wxUSE_GAUGE 1
+# endif
+# endif
+#endif /* !wxUSE_GAUGE */
+
#if !wxUSE_BUTTON
# if wxUSE_PROGRESSDLG || \
wxUSE_FONTDLG || \
# define wxUSE_BUTTON 1
# endif
# endif
-#endif /* wxUSE_PROGRESSDLG */
+#endif /* !wxUSE_BUTTON */
#if !wxUSE_TOOLBAR
# if wxUSE_TOOLBAR_NATIVE