X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3784bf308fe29d37b723a9601517fb97559ba39c..17d98558b35b75e3cad68d96841b4fa5a0c7e6ee:/src/common/graphcmn.cpp?ds=sidebyside diff --git a/src/common/graphcmn.cpp b/src/common/graphcmn.cpp index 7ab4da0b5c..0c24351e7e 100644 --- a/src/common/graphcmn.cpp +++ b/src/common/graphcmn.cpp @@ -870,8 +870,16 @@ wxGraphicsBitmap wxGraphicsContext::CreateSubBitmap( const wxGraphicsBitmap &bmp { return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc); } + +#ifdef __WXMSW__ +/* static */ wxGraphicsContext* wxGraphicsContext::Create( const wxEnhMetaFileDC& dc) +{ + return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc); +} #endif +#endif // wxUSE_PRINTING_ARCHITECTURE + wxGraphicsContext* wxGraphicsContext::CreateFromNative( void * context ) { return wxGraphicsRenderer::GetDefaultRenderer()->CreateContextFromNativeContext(context);