X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2119e28084cea5eb7e7d6f573fcc9249ec81355b..8366ae934aab9f835747b0c2e456231e8795fe78:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index c55cfd8b57..4d9097ac3b 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -309,6 +309,14 @@ # endif #endif /* !defined(wxUSE_NOTEBOOK) */ +#ifndef wxUSE_PALETTE +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_PALETTE must be defined." +# else +# define wxUSE_PALETTE 0 +# endif +#endif /* !defined(wxUSE_PALETTE) */ + #ifndef wxUSE_POPUPWIN # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_POPUPWIN must be defined."