#if wxUSE_GRAPHICS_CONTEXT
-#include "wx/graphics.h"
+#include "wx/private/graphics.h"
#ifndef WX_PRECOMP
#include "wx/icon.h"
#include "wx/log.h"
#endif
-#if !defined(wxMAC_USE_CORE_GRAPHICS_BLEND_MODES)
-#define wxMAC_USE_CORE_GRAPHICS_BLEND_MODES 0
-#endif
-
//-----------------------------------------------------------------------------
// constants
//-----------------------------------------------------------------------------
{
return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
}
-#ifdef __WXMSW__
+
wxGraphicsContext* wxGraphicsContext::Create( const wxMemoryDC& dc)
{
return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
}
-#endif
wxGraphicsContext* wxGraphicsContext::CreateFromNative( void * context )
{