X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fcaea2fab983efc4dcfe7d9f23dd046c5eb3b932..747d7d7c159a57015d7aa9d844f834b78f613272:/src/common/graphcmn.cpp diff --git a/src/common/graphcmn.cpp b/src/common/graphcmn.cpp index 0560f39bf0..0cd27eca98 100644 --- a/src/common/graphcmn.cpp +++ b/src/common/graphcmn.cpp @@ -18,7 +18,7 @@ #if wxUSE_GRAPHICS_CONTEXT -#include "wx/graphics.h" +#include "wx/private/graphics.h" #ifndef WX_PRECOMP #include "wx/icon.h" @@ -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 //----------------------------------------------------------------------------- @@ -509,7 +505,7 @@ wxGraphicsContext::~wxGraphicsContext() { } -bool wxGraphicsContext::StartDoc( const wxString& message ) +bool wxGraphicsContext::StartDoc(const wxString& WXUNUSED(message)) { return true; } @@ -518,7 +514,8 @@ void wxGraphicsContext::EndDoc() { } -void wxGraphicsContext::StartPage( wxDouble width, wxDouble height ) +void wxGraphicsContext::StartPage(wxDouble WXUNUSED(width), + wxDouble WXUNUSED(height)) { } @@ -777,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 ) {