From: Vadim Zeitlin Date: Mon, 17 Sep 2007 00:25:50 +0000 (+0000) Subject: define wxUSE_CAIRO as 0 for non-GTK builds to avoid warnings about using undefined... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3df485fd5b5474a059fa1467e05cf38a92928a86 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 --- 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