X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d0bbcd06d2da50de48c7f736669305b6aa9c99b5..c29c95fe24973b94fd724db767193171ca7c513d:/interface/wx/dcgraph.h?ds=sidebyside diff --git a/interface/wx/dcgraph.h b/interface/wx/dcgraph.h index b93391bd5b..5d086485c1 100644 --- a/interface/wx/dcgraph.h +++ b/interface/wx/dcgraph.h @@ -3,7 +3,7 @@ // Purpose: interface of wxGCDC // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -35,9 +35,20 @@ public: */ wxGCDC( const wxPrinterDC& dc ); + /** + Constructs a wxGCDC from a wxEnhMetaFileDC. + + This constructor is only available in wxMSW port and when @c + wxUSE_ENH_METAFILE build option is enabled, i.e. when wxEnhMetaFileDC + class itself is available. + + @since 2.9.3 + */ + wxGCDC( const wxEnhMetaFileDC& dc ); + /** Retrieves associated wxGraphicsContext */ - wxGraphicsContext* GetGraphicsContext(); + wxGraphicsContext* GetGraphicsContext() const; };