From: Václav Slavík Date: Tue, 1 Aug 2006 08:39:29 +0000 (+0000) Subject: wxX11's wxBitmap requires wxPalette, so check for wxUSE_PALETTE X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0e798c8651e6e5897fb611dc5e5f7460dfe60bef 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 --- 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