X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b44ffc0e77a8db603b3aba597e4c4df2e2e518f..2e334012b4babcf063fbe79540c4c154cd54ab2b:/src/gtk/dcmemory.cpp?ds=sidebyside diff --git a/src/gtk/dcmemory.cpp b/src/gtk/dcmemory.cpp index d77d307dc5..3c22ca1fc1 100644 --- a/src/gtk/dcmemory.cpp +++ b/src/gtk/dcmemory.cpp @@ -16,10 +16,6 @@ #include #include -#if wxUSE_GRAPHICS_CONTEXT -#include "wx/graphics.h" -#endif - //----------------------------------------------------------------------------- // wxMemoryDCImpl //----------------------------------------------------------------------------- @@ -64,14 +60,6 @@ void wxMemoryDCImpl::Init() m_fontdesc = pango_font_description_copy( pango_context_get_font_description( m_context ) ); } -#if wxUSE_GRAPHICS_CONTEXT -wxGraphicsContext* wxMemoryDCImpl::CreateGraphicsContext() -{ - wxMemoryDC *memdc = (wxMemoryDC*) GetOwner(); - return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext( *memdc ); -} -#endif - void wxMemoryDCImpl::DoSelect( const wxBitmap& bitmap ) { Destroy();