From: Václav Slavík Date: Fri, 7 Jun 2002 17:56:53 +0000 (+0000) Subject: wxMGL requires wxUSE_PALETTE X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bfc4a1c1efd748527be5bfd4b67ff58ae703d96e?ds=inline wxMGL requires wxUSE_PALETTE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 3276d23fe2..5c9be4068b 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -985,6 +985,13 @@ # define wxUSE_TOGGLEBTN 0 #endif +/* wxMGL-specific dependencies */ +#ifdef __WXMGL__ +# if !wxUSE_PALETTE +# error "wxMGL requires wxUSE_PALETTE=1" +# endif +#endif /* wxMGL */ + /* generic controls dependencies */ #if !defined(__WXMSW__) || defined(__WXUNIVERSAL__) # if wxUSE_FONTDLG || wxUSE_FILEDLG || wxUSE_CHOICEDLG