X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/906c935a80b10d53cecf57f71ab5f3f4f1d529ec..de28042337df3f0ba9bfcd8f5b2c4d188f37d7dd:/interface/wx/dcgraph.h

diff --git a/interface/wx/dcgraph.h b/interface/wx/dcgraph.h
index 5d086485c1..afaed92a84 100644
--- a/interface/wx/dcgraph.h
+++ b/interface/wx/dcgraph.h
@@ -23,17 +23,22 @@ public:
     /**
        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.
@@ -44,11 +49,20 @@ public:
 
        @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 );
+
 };