]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcgraph.cpp
fixing reentrancy problem under iOS 5
[wxWidgets.git] / src / common / dcgraph.cpp
index 812ca0e4edc4628208da3cec2c4caa196c89a453..1f08538f85fa5436a4dec403e0215e95a0d2dc83 100644 (file)
@@ -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 );
 }