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);