]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/graphcmn.cpp
Make it compile
[wxWidgets.git] / src / common / graphcmn.cpp
index 7ab4da0b5ca535759d92828398e0f17cc397f06f..0c24351e7e2b049f43a8a2b4e4cf476739fd64f1 100644 (file)
@@ -870,8 +870,16 @@ wxGraphicsBitmap wxGraphicsContext::CreateSubBitmap( const wxGraphicsBitmap &bmp
 {
     return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
 }
+
+#ifdef __WXMSW__
+/* static */ wxGraphicsContext* wxGraphicsContext::Create( const wxEnhMetaFileDC& dc)
+{
+    return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
+}
 #endif
 
+#endif // wxUSE_PRINTING_ARCHITECTURE
+
 wxGraphicsContext* wxGraphicsContext::CreateFromNative( void * context )
 {
     return wxGraphicsRenderer::GetDefaultRenderer()->CreateContextFromNativeContext(context);