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