X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c29bdd5ffe375b2033994f2b59399e79b63973b6..b1f0e54a75dd7abc9f666a39f5bf9810d11a7b7c:/src/common/graphcmn.cpp diff --git a/src/common/graphcmn.cpp b/src/common/graphcmn.cpp index da313ef55f..4fbab9c909 100644 --- a/src/common/graphcmn.cpp +++ b/src/common/graphcmn.cpp @@ -28,10 +28,6 @@ #include "wx/log.h" #endif -#if !defined(wxMAC_USE_CORE_GRAPHICS_BLEND_MODES) -#define wxMAC_USE_CORE_GRAPHICS_BLEND_MODES 0 -#endif - //----------------------------------------------------------------------------- // constants //----------------------------------------------------------------------------- @@ -778,12 +774,11 @@ wxGraphicsContext* wxGraphicsContext::Create( const wxWindowDC& dc) { return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc); } -#ifdef __WXMSW__ + wxGraphicsContext* wxGraphicsContext::Create( const wxMemoryDC& dc) { return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc); } -#endif wxGraphicsContext* wxGraphicsContext::CreateFromNative( void * context ) {