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
This commit is contained in:
Vadim Zeitlin
2007-09-17 00:25:50 +00:00
parent 985acf8734
commit 3df485fd5b

View File

@@ -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