Do not offset coordinates in case of filling

This commit is contained in:
Stefan Csomor 2017-06-28 07:34:53 +02:00
parent a6ba2245ef
commit 62052e365e

View File

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