X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a0176957ada131b132aedbb535e6356be083da0..bd0a76e228b5ce47c648c2e52857e77cf79e6ae5:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 9284420945..3d05c7c85c 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -15,7 +15,9 @@ Compiler-specific checking. */ -#if defined(__WXMSW__) +#if defined(__PALMOS__) +# include "wx/palmos/chkconf.h" +#elif defined(__WXMSW__) # include "wx/msw/chkconf.h" #elif defined(__WXMAC__) # include "wx/mac/chkconf.h" @@ -1170,12 +1172,12 @@ #endif /* wxMGL */ /* Hopefully we can emulate these dialogs in due course */ -#ifdef __SMARTPHONE__ +#if defined(__SMARTPHONE__) && defined(__WXWINCE__) # ifdef wxUSE_COLOURDLG # undef wxUSE_COLOURDLG # define wxUSE_COLOURDLG 0 # endif -#endif /* __SMARTPHONE__ */ +#endif /* __SMARTPHONE__ && __WXWINCE__ */ /* generic controls dependencies */ @@ -1271,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 @@ -1283,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 */ @@ -1456,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 || \ @@ -1473,7 +1488,7 @@ # define wxUSE_BUTTON 1 # endif # endif -#endif /* wxUSE_PROGRESSDLG */ +#endif /* !wxUSE_BUTTON */ #if !wxUSE_TOOLBAR # if wxUSE_TOOLBAR_NATIVE