X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/932d0768aa4ef14b363c1f5989e7c425771ce1ff..d5363c04ac7bfd5409b369746a67b83fd10cfdbc:/src/common/dcgraph.cpp?ds=sidebyside 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 ); }