X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e798c8651e6e5897fb611dc5e5f7460dfe60bef..374e9b153fcb3f4e547929ccc9b80bda76fd6f6e:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 696c3f798d..4cb3801a9d 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -29,6 +29,8 @@ # include "wx/mgl/chkconf.h" #elif defined(__WXMOTIF__) # include "wx/motif/chkconf.h" +#elif defined(__WXX11__) +# include "wx/x11/chkconf.h" #endif /* @@ -1281,20 +1283,6 @@ # endif #endif /* wxGTK && !wxUniv */ -/* wxMGL-specific dependencies */ -#ifdef __WXMGL__ -# if !wxUSE_PALETTE -# error "wxMGL requires wxUSE_PALETTE=1" -# endif -#endif /* wxMGL */ - -/* wxX11-specific dependencies */ -#ifdef __WXX11__ -# if !wxUSE_PALETTE -# error "wxX11 requires wxUSE_PALETTE=1" -# endif -#endif /* wxX11 */ - /* Hopefully we can emulate these dialogs in due course */ #if defined(__SMARTPHONE__) && defined(__WXWINCE__) # ifdef wxUSE_COLOURDLG @@ -1635,15 +1623,6 @@ # define wxUSE_TOOLBAR_NATIVE 0 # endif # endif - -# if wxUSE_TOOLBAR_SIMPLE -# ifdef wxABORT_ON_CONFIG_ERROR -# error "wxUSE_TOOLBAR is set to 0 but wxUSE_TOOLBAR_SIMPLE is set to 1" -# else -# undef wxUSE_TOOLBAR_SIMPLE -# define wxUSE_TOOLBAR_SIMPLE 0 -# endif -# endif #endif #if !wxUSE_IMAGLIST