X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b8ef0b35d674bc262eb2005ac1321762c831d31..94b6ce7f4bf371575771d229920e0ed8550a48ef:/include/wx/chkconf.h?ds=inline diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 4afa892e07..ccb3fb687a 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -431,6 +431,18 @@ # endif #endif /* !defined(wxUSE_BUTTON) */ +/* + This one is special, it's only used under wxGTK currently so don't require + pre-defining it. + */ +#ifndef wxUSE_CAIRO +# ifdef __WXGTK210__ +# define wxUSE_CAIRO 1 +# else +# define wxUSE_CAIRO 0 +# endif +#endif + #ifndef wxUSE_CALENDARCTRL # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_CALENDARCTRL must be defined, please read comment near the top of this file."