From bfc4a1c1efd748527be5bfd4b67ff58ae703d96e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 7 Jun 2002 17:56:53 +0000 Subject: [PATCH] wxMGL requires wxUSE_PALETTE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/chkconf.h | 7 +++++++ 1 file changed, 7 insertions(+) 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