X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ad76eea22da59402cfe063f0c41803e5dce277a..ddfdef64fadb32a8c122977ff70669a9d8d5a37d:/src/common/graphcmn.cpp diff --git a/src/common/graphcmn.cpp b/src/common/graphcmn.cpp index 1d94e4a003..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" @@ -774,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 ) {