From 0e798c8651e6e5897fb611dc5e5f7460dfe60bef Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 1 Aug 2006 08:39:29 +0000 Subject: [PATCH] wxX11's wxBitmap requires wxPalette, so check for wxUSE_PALETTE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40409 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 13998ff414..696c3f798d 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -1288,6 +1288,13 @@ # 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 -- 2.50.0