]> git.saurik.com Git - wxWidgets.git/commitdiff
wxX11's wxBitmap requires wxPalette, so check for wxUSE_PALETTE
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 1 Aug 2006 08:39:29 +0000 (08:39 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 1 Aug 2006 08:39:29 +0000 (08:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h

index 13998ff4141ac5758c8ebbf44a6b04c1edcaf49c..696c3f798d245c5287030c89e5d308c5bbafed6b 100644 (file)
 #   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