]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcmemory.cpp
fix more Borland release build warnings about unused variable/code without effect
[wxWidgets.git] / src / msw / dcmemory.cpp
index 7da1ce87c5b4a4b4b5ff0c52c199edb7203bfb60..6869e6f4e4b2f6873ede578fd7c176a7f0ad394e 100644 (file)
     #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 ;