]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/dcgraph.h
Fix the library of wxGenericDirCtrl in the documentation.
[wxWidgets.git] / interface / wx / dcgraph.h
index 345d015acf4acd7a0410e3b7b730e788d46950ec..cd6a5ea3a39e3d88c4959d898f4bc9a8da7ba41d 100644 (file)
@@ -35,9 +35,33 @@ public:
     */
     wxGCDC( const wxPrinterDC& dc );
 
+    /**
+       Construct a wxGCDC from an existing grtaphics context.
+    */
+    wxGCDC(wxGraphicsContext* context);
+
+    /**
+       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 );
+
+    wxGCDC();
+    virtual ~wxGCDC();
     /**
        Retrieves associated wxGraphicsContext
     */
-    wxGraphicsContext* GetGraphicsContext();
+    wxGraphicsContext* GetGraphicsContext() const;
+
+    /**
+       Set the grpahics context to be used for this wxGCDC.
+    */
+    void SetGraphicsContext( wxGraphicsContext* ctx );
+
 };