From 82614b1a723d277cbf5810bdad8e84eb7d8825ed Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 29 Sep 2011 07:28:04 +0000 Subject: [PATCH] Don't always use the Cairo context for wxGCDC(wxMemoryDC). If a Cairo context is wanted then the wxGCDC(wxGraphicsContext*) ctor should be used instead. (I thought I had removed this code with my last commit of this file...) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dcgraph.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/common/dcgraph.cpp b/src/common/dcgraph.cpp index 812ca0e4ed..1f08538f85 100644 --- a/src/common/dcgraph.cpp +++ b/src/common/dcgraph.cpp @@ -187,13 +187,7 @@ wxGCDCImpl::wxGCDCImpl( wxDC *owner, const wxMemoryDC& dc ) : { Init(); wxGraphicsContext* context; -#if wxUSE_CAIRO - wxGraphicsRenderer* renderer = wxGraphicsRenderer::GetCairoRenderer(); - context = renderer->CreateContext(dc); -#else context = wxGraphicsContext::Create(dc); -#endif - SetGraphicsContext( context ); } -- 2.50.0