bracketing msw enhanced metafile usage

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2011-01-01 11:10:35 +00:00
parent cb98e78b1e
commit 29188693b3
2 changed files with 8 additions and 0 deletions

View File

@@ -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 )
{