diff --git a/src/generic/graphicc.cpp b/src/generic/graphicc.cpp index b3a65bc0c4..f478ede6a9 100644 --- a/src/generic/graphicc.cpp +++ b/src/generic/graphicc.cpp @@ -3087,8 +3087,8 @@ bool wxCairoContext::SetCompositionMode(wxCompositionMode op) cop = CAIRO_OPERATOR_ADD; break; case wxCOMPOSITION_DIFF: -#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 12, 0) - if ( cairo_version() >= CAIRO_VERSION_ENCODE(1, 12, 0) ) +#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 10, 0) + if ( cairo_version() >= CAIRO_VERSION_ENCODE(1, 10, 0) ) { cop = CAIRO_OPERATOR_DIFFERENCE; break;