]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/dcgraph.h
Resolve ambiguity between GetClientXXX() methods in wxOSX wxComboBox.
[wxWidgets.git] / interface / wx / dcgraph.h
index b93391bd5b5e32ddcb28526929aa5713408dc32c..5d086485c1509eafaad21b1448e24d107a8a7c9f 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:     interface of wxGCDC
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
 // 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 );
 
     */
     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
     */
     /**
        Retrieves associated wxGraphicsContext
     */
-    wxGraphicsContext* GetGraphicsContext();
+    wxGraphicsContext* GetGraphicsContext() const;
 };
 
 };