X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3784bf308fe29d37b723a9601517fb97559ba39c..2e49a8074e7c9179b642852ff00ed8fdf0768bb1:/src/common/graphcmn.cpp diff --git a/src/common/graphcmn.cpp b/src/common/graphcmn.cpp index 7ab4da0b5c..99a42c8a95 100644 --- a/src/common/graphcmn.cpp +++ b/src/common/graphcmn.cpp @@ -872,6 +872,13 @@ wxGraphicsBitmap wxGraphicsContext::CreateSubBitmap( const wxGraphicsBitmap &bmp } #endif +#if wxUSE_ENH_METAFILE +/* static */ wxGraphicsContext* wxGraphicsContext::Create( const wxEnhMetaFileDC& dc) +{ + return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc); +} +#endif + wxGraphicsContext* wxGraphicsContext::CreateFromNative( void * context ) { return wxGraphicsRenderer::GetDefaultRenderer()->CreateContextFromNativeContext(context);