From 3df485fd5b5474a059fa1467e05cf38a92928a86 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 17 Sep 2007 00:25:50 +0000 Subject: [PATCH] define wxUSE_CAIRO as 0 for non-GTK builds to avoid warnings about using undefined symbols in preprocessor conditions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/cairo.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/wx/cairo.h b/include/wx/cairo.h index 2135ea932f..7133656190 100644 --- a/include/wx/cairo.h +++ b/include/wx/cairo.h @@ -11,9 +11,13 @@ #ifndef _WX_CAIRO_H_BASE_ #define _WX_CAIRO_H_BASE_ - // for now GTK+ only -#ifdef __WXGTK210__ - #define wxUSE_CAIRO 1 +// for now GTK+ only +#ifndef wxUSE_CAIRO + #ifdef __WXGTK210__ + #define wxUSE_CAIRO 1 + #else + #define wxUSE_CAIRO 0 + #endif #endif #if wxUSE_CAIRO -- 2.50.0