From 62052e365ef2ef0c2e50dd10a0e3ddb4080be2e4 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 28 Jun 2017 07:34:53 +0200 Subject: [PATCH] Do not offset coordinates in case of filling --- src/generic/graphicc.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/generic/graphicc.cpp b/src/generic/graphicc.cpp index 201369399e..bc35b45a17 100644 --- a/src/generic/graphicc.cpp +++ b/src/generic/graphicc.cpp @@ -2459,7 +2459,6 @@ void wxCairoContext::DrawRectangle( wxDouble x, wxDouble y, wxDouble w, wxDouble { if ( !m_brush.IsNull() ) { - wxCairoOffsetHelper helper( m_context, ShouldOffset() ) ; ((wxCairoBrushData*)m_brush.GetRefData())->Apply(this); cairo_rectangle(m_context, x, y, w, h); cairo_fill(m_context);