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:
@@ -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
|
||||
|
Reference in New Issue
Block a user