]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/graphcmn.cpp
Instead of having wxComboCtrl mimic wxTextEntry interface, make it actually inherit...
[wxWidgets.git] / src / common / graphcmn.cpp
index 7ab4da0b5ca535759d92828398e0f17cc397f06f..99a42c8a958c84e6ff14e25cff6ce0e261eabbee 100644 (file)
@@ -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);