Closes #13325.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68235
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
*/
static wxGraphicsContext* Create(const wxPrinterDC& dc);
*/
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.
*/
/**
Clips drawings to the specified region.
*/
*/
virtual wxGraphicsContext* CreateContext(const wxPrinterDC& dc) = 0 ;
*/
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.
*/
/**
Creates a native brush from a wxBrush.
*/