X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9597d39a2e3105f36db089936fc39375a83c1520..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/gtk/chkconf.h?ds=sidebyside diff --git a/include/wx/gtk/chkconf.h b/include/wx/gtk/chkconf.h index afd727fa3f..84595b256c 100644 --- a/include/wx/gtk/chkconf.h +++ b/include/wx/gtk/chkconf.h @@ -3,7 +3,6 @@ * Purpose: wxGTK-specific settings consistency checks * Author: Vadim Zeitlin * Created: 2007-07-19 (extracted from wx/chkconf.h) - * RCS-ID: $Id$ * Copyright: (c) 2000-2007 Vadim Zeitlin * Licence: wxWindows licence */ @@ -45,6 +44,11 @@ # define wxUSE_METAFILE 0 #endif +#if wxUSE_ENH_METAFILE +# undef wxUSE_ENH_METAFILE +# define wxUSE_ENH_METAFILE 0 +#endif + #ifndef __UNIX__ # undef wxUSE_WEBVIEW @@ -81,3 +85,14 @@ #endif #endif /* __WINDOWS__ */ + +#ifdef __WXGTK3__ + #if !wxUSE_GRAPHICS_CONTEXT + #ifdef wxABORT_ON_CONFIG_ERROR + #error "GTK+ 3 support requires wxGraphicsContext" + #else + #undef wxUSE_GRAPHICS_CONTEXT + #define wxUSE_GRAPHICS_CONTEXT 1 + #endif + #endif +#endif