/**
Constructs a wxGCDC from a wxWindowDC.
*/
- wxGCDC( const wxWindowDC& dc );
+ wxGCDC( const wxWindowDC& windowDC );
/**
Constructs a wxGCDC from a wxMemoryDC.
*/
- wxGCDC( const wxMemoryDC& dc );
+ wxGCDC( const wxMemoryDC& memoryDC );
/**
Constructs a wxGCDC from a wxPrinterDC.
*/
- wxGCDC( const wxPrinterDC& dc );
+ wxGCDC( const wxPrinterDC& printerDC );
+
+ /**
+ Construct a wxGCDC from an existing graphics context.
+ */
+ wxGCDC(wxGraphicsContext* context);
/**
Constructs a wxGCDC from a wxEnhMetaFileDC.
@since 2.9.3
*/
- wxGCDC( const wxEnhMetaFileDC& dc );
+ wxGCDC( const wxEnhMetaFileDC& emfDC );
+ wxGCDC();
+ virtual ~wxGCDC();
+
/**
Retrieves associated wxGraphicsContext
*/
wxGraphicsContext* GetGraphicsContext() const;
+
+ /**
+ Set the grpahics context to be used for this wxGCDC.
+ */
+ void SetGraphicsContext( wxGraphicsContext* ctx );
+
};