X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..c29c95fe24973b94fd724db767193171ca7c513d:/interface/wx/dcgraph.h diff --git a/interface/wx/dcgraph.h b/interface/wx/dcgraph.h index e4d4459bfc..5d086485c1 100644 --- a/interface/wx/dcgraph.h +++ b/interface/wx/dcgraph.h @@ -2,13 +2,12 @@ // Name: dcgraph.h // Purpose: interface of wxGCDC // Author: wxWidgets team -// RCS-ID: $Id: $ -// Licence: wxWindows license +// RCS-ID: $Id$ +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @class wxGCDC - @wxheader{dcgraph.h} wxGCDC is a device context that draws on a wxGraphicsContext. @@ -25,20 +24,31 @@ public: Constructs a wxGCDC from a wxWindowDC. */ wxGCDC( const wxWindowDC& dc ); - + /** Constructs a wxGCDC from a wxMemoryDC. */ wxGCDC( const wxMemoryDC& dc ); - + /** Constructs a wxGCDC from a wxPrinterDC. */ 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; };