X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3549217b2467279abf72eff8fb5745cdf61f2482..86baa52d2235d6add6e68ae38755ebd9435483bd:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 28f4d18ede..3d05c7c85c 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -626,14 +626,6 @@ # 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." @@ -1281,7 +1273,7 @@ #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 @@ -1293,6 +1285,8 @@ # define wxUSE_COMBOBOX 1 # undef wxUSE_NOTEBOOK # define wxUSE_NOTEBOOK 1 +# undef wxUSE_SPINCTRL +# define wxUSE_SPINCTRL 1 # endif # endif #endif /* wxUSE_WXHTML_HELP */ @@ -1466,6 +1460,17 @@ # 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 || \ @@ -1483,7 +1488,7 @@ # define wxUSE_BUTTON 1 # endif # endif -#endif /* wxUSE_PROGRESSDLG */ +#endif /* !wxUSE_BUTTON */ #if !wxUSE_TOOLBAR # if wxUSE_TOOLBAR_NATIVE