From 85bdd1be9f470db928641ea41e208953d29fa156 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Fri, 3 Aug 2018 09:53:36 -0700 Subject: [PATCH] Update Cairo version check. Should presumably have been part of 3f18576dee. --- src/generic/graphicc.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/generic/graphicc.cpp b/src/generic/graphicc.cpp index 8fa298175f..ce232060ad 100644 --- a/src/generic/graphicc.cpp +++ b/src/generic/graphicc.cpp @@ -2156,8 +2156,7 @@ wxCairoContext::wxCairoContext( wxGraphicsRenderer* renderer, HDC handle ) // bug 96482) so in this case we would need to pass non-transformed // DC to Cairo and to apply original DC transformation to the Cairo // context operations on our own. - // We believe this bug will be fixed in the next Cairo version. - if ( cairo_version() <= CAIRO_VERSION_ENCODE(1, 15, 2) ) + if ( cairo_version() < CAIRO_VERSION_ENCODE(1, 15, 12) ) { POINT devOrg; ::GetViewportOrgEx(handle, &devOrg);