]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/graphics.h
Patch from Utensil Candel with large improvements to the samples documentation, and...
[wxWidgets.git] / interface / graphics.h
index f675292f36c83e0deac8e1da29fb0eb9d7fee782..45360115b73a8c7da567e265af39a70fc39b87f7 100644 (file)
@@ -256,9 +256,11 @@ public:
     static wxGraphicsContext * Create( const wxMemoryDC& dc) ;
     
     /**
-        Creates a wxGraphicsContext from a wxPrinterDC
+        Creates a wxGraphicsContext from a wxPrinterDC. Under
+        GTK+, this will only work when using the GtkPrint
+        printing backend which is available since GTK+ 2.10.
 
-        @see wxGraphicsRenderer::CreateContext()
+        @see wxGraphicsRenderer::CreateContext(), @ref overview_unixprinting "Printing under Unix"
     */
     static wxGraphicsContext * Create( const wxPrinterDC& dc) ;
 
@@ -294,13 +296,13 @@ public:
         eg a CGContextRef for Core Graphics, a Graphics pointer for GDIPlus or a
         cairo_t pointer for cairo.
 
-        Creates a wxGraphicsContext from a native window.
-
         @see wxGraphicsRenderer:: CreateContextFromNativeContext
     */
     wxGraphicsContext* CreateFromNative(void* context);
 
     /**
+        Creates a wxGraphicsContext from a native window.
+
         @see wxGraphicsRenderer:: CreateContextFromNativeWindow
     */
     wxGraphicsContext* CreateFromNativeWindow(void* window);