*/
static wxGraphicsContext* Create(const wxPrinterDC& dc);
+ /**
+ Creates a wxGraphicsContext from a wxEnhMetaFileDC.
+
+ This function, as wxEnhMetaFileDC class itself, is only available only
+ under MSW.
+
+ @see wxGraphicsRenderer::CreateContext()
+ */
+ static wxGraphicsContext* Create(const wxEnhMetaFileDC& dc);
+
/**
Clips drawings to the specified region.
*/
*/
virtual wxGraphicsContext* CreateContext(const wxPrinterDC& dc) = 0 ;
+ /**
+ Creates a wxGraphicsContext from a wxEnhMetaFileDC.
+
+ This function, as wxEnhMetaFileDC class itself, is only available only
+ under MSW.
+ */
+ virtual wxGraphicsContext* CreateContext(const wxEnhMetaFileDC& dc) = 0;
+
/**
Creates a native brush from a wxBrush.
*/