]> git.saurik.com Git - wxWidgets.git/commitdiff
wxMGL requires wxUSE_PALETTE
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 7 Jun 2002 17:56:53 +0000 (17:56 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 7 Jun 2002 17:56:53 +0000 (17:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h

index 3276d23fe21c99db3f8809f59d2d8a5a52b4b7fd..5c9be4068bb8adc254d21f90dfb73bce24aad29e 100644 (file)
 #  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