X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7f3eecc5223ecc42c1ff3145e03470dbf34c831..0304b437122f9a776944ba27c4cd4f5f12bf9a56:/include/wx/chkconf.h 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