X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b44ffc0e77a8db603b3aba597e4c4df2e2e518f..2bfca191bf2261e385594a369da9aa4e4441aa43:/src/msw/dcmemory.cpp diff --git a/src/msw/dcmemory.cpp b/src/msw/dcmemory.cpp index 7da1ce87c5..6869e6f4e4 100644 --- a/src/msw/dcmemory.cpp +++ b/src/msw/dcmemory.cpp @@ -32,10 +32,6 @@ #include "wx/log.h" #endif -#if wxUSE_GRAPHICS_CONTEXT -#include "wx/graphics.h" -#endif - #include "wx/msw/private.h" // ---------------------------------------------------------------------------- @@ -82,14 +78,6 @@ void wxMemoryDCImpl::Init() } } -#if wxUSE_GRAPHICS_CONTEXT -wxGraphicsContext* wxMemoryDCImpl::CreateGraphicsContext() -{ - wxMemoryDC *memdc = (wxMemoryDC*) GetOwner(); - return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext( *memdc ); -} -#endif - bool wxMemoryDCImpl::CreateCompatible(wxDC *dc) { wxDCImpl *impl = dc ? dc->GetImpl() : NULL ;