X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b44ffc0e77a8db603b3aba597e4c4df2e2e518f..fe6f7f3c78174df4818c9e4f12c377b9f0cc323c:/src/msw/dcclient.cpp diff --git a/src/msw/dcclient.cpp b/src/msw/dcclient.cpp index b965c68430..e97fe01af2 100644 --- a/src/msw/dcclient.cpp +++ b/src/msw/dcclient.cpp @@ -33,10 +33,6 @@ #include "wx/window.h" #endif -#if wxUSE_GRAPHICS_CONTEXT -#include "wx/graphics.h" -#endif - #include "wx/msw/private.h" // ---------------------------------------------------------------------------- @@ -122,14 +118,6 @@ void wxWindowDCImpl::InitDC() #endif } -#if wxUSE_GRAPHICS_CONTEXT -wxGraphicsContext* wxWindowDCImpl::CreateGraphicsContext() -{ - wxWindowDC *windowdc = (wxWindowDC*) GetOwner(); - return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext( *windowdc ); -} -#endif - void wxWindowDCImpl::DoGetSize(int *width, int *height) const { wxCHECK_RET( m_window, _T("wxWindowDCImpl without a window?") );