]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/graphcmn.cpp
Replace wxST_MARKUP style with wxControl::SetLabelMarkup().
[wxWidgets.git] / src / common / graphcmn.cpp
index 7ab4da0b5ca535759d92828398e0f17cc397f06f..5bc8a8824a60d945926ccaccb44428545ebd9dc1 100644 (file)
@@ -872,6 +872,15 @@ 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 )
 {
     return wxGraphicsRenderer::GetDefaultRenderer()->CreateContextFromNativeContext(context);