#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
//-----------------------------------------------------------------------------
{
}
-bool wxGraphicsContext::StartDoc( const wxString& message )
+bool wxGraphicsContext::StartDoc(const wxString& WXUNUSED(message))
{
return true;
}
{
}
-void wxGraphicsContext::StartPage( wxDouble width, wxDouble height )
+void wxGraphicsContext::StartPage(wxDouble WXUNUSED(width),
+ wxDouble WXUNUSED(height))
{
}
{
return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
}
-#ifdef __WXMSW__
+
wxGraphicsContext* wxGraphicsContext::Create( const wxMemoryDC& dc)
{
return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
}
-#endif
wxGraphicsContext* wxGraphicsContext::CreateFromNative( void * context )
{