X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c929ad91417a4ee797652d79300c0c23219a46fd..816b29417d6194332709439490caf407e1283532:/src/common/graphcmn.cpp diff --git a/src/common/graphcmn.cpp b/src/common/graphcmn.cpp index 99a42c8a95..5bc8a8824a 100644 --- a/src/common/graphcmn.cpp +++ b/src/common/graphcmn.cpp @@ -872,12 +872,14 @@ wxGraphicsBitmap wxGraphicsContext::CreateSubBitmap( const wxGraphicsBitmap &bmp } #endif +#ifdef __WXMSW__ #if wxUSE_ENH_METAFILE /* static */ wxGraphicsContext* wxGraphicsContext::Create( const wxEnhMetaFileDC& dc) { return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc); } #endif +#endif wxGraphicsContext* wxGraphicsContext::CreateFromNative( void * context ) {