X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7efaa702da88a4213ddc0ed5dddd0a7a5fbf3f60..808e3bce622d9ec7ae8c43581472ae699ed47221:/include/wx/chkconf.h?ds=sidebyside diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 8aaa475d37..6a51a7ad71 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -1011,6 +1011,18 @@ # endif #endif /* wxUSE_CHOICEBOOK */ +/* don't attempt to use native status bar on the platforms not having it */ +#ifndef wxUSE_NATIVE_STATUSBAR +# define wxUSE_NATIVE_STATUSBAR 0 +#elif wxUSE_NATIVE_STATUSBAR +# if defined(__WXUNIVERSAL__) || !( defined(__WXMSW__) || \ + defined(__WXMAC__) || \ + defined(__WXPALMOS__) ) +# undef wxUSE_NATIVE_STATUSBAR +# define wxUSE_NATIVE_STATUSBAR 0 +# endif +#endif + /* wxUniv-specific dependencies */ #if defined(__WXUNIVERSAL__) # if (wxUSE_COMBOBOX || wxUSE_MENUS) && !wxUSE_POPUPWIN @@ -1145,26 +1157,6 @@ # endif # endif /* wxUSE_DYNAMIC_LOADER */ -# if !wxUSE_ON_FATAL_EXCEPTION -# if wxUSE_CRASHREPORT -# ifdef wxABORT_ON_CONFIG_ERROR -# error "wxUSE_CRASHREPORT requires wxUSE_ON_FATAL_EXCEPTION" -# else -# undef wxUSE_CRASHREPORT -# define wxUSE_CRASHREPORT 0 -# endif -# endif - -# if wxUSE_STACKWALKER -# ifdef wxABORT_ON_CONFIG_ERROR -# error "wxUSE_STACKWALKER requires wxUSE_ON_FATAL_EXCEPTION" -# else -# undef wxUSE_STACKWALKER -# define wxUSE_STACKWALKER 0 -# endif -# endif -# endif /* wxUSE_ON_FATAL_EXCEPTION */ - #endif /* wxMSW */ /* wxMAC-specific dependencies */ @@ -1617,5 +1609,11 @@ # endif #endif /* wxUSE_XRC */ +/* The generic date picker uses a popup window */ +#if !wxUSE_POPUPWIN +# undef wxUSE_DATEPICKCTRL +# define wxUSE_DATEPICKCTRL 0 +#endif /* !wxUSE_POPUPWIN */ + #endif /* wxUSE_GUI */