]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cairo.h
Implement HasSelection for the OSX WebKit backend.
[wxWidgets.git] / include / wx / cairo.h
index 60e06534a0000010c391963dafa6000afbbde630..88d570586bdb05ecdc0c8acdc394f2127ba6449b 100644 (file)
@@ -132,11 +132,12 @@ public:
     wxDL_VOIDMETHOD_DEFINE( cairo_translate,
         (cairo_t *cr, double tx, double ty), (cr, tx, ty) )
 
     wxDL_VOIDMETHOD_DEFINE( cairo_translate,
         (cairo_t *cr, double tx, double ty), (cr, tx, ty) )
 
+#if wxUSE_PANGO
     wxDL_VOIDMETHOD_DEFINE( pango_cairo_update_layout,
         (cairo_t *cr, PangoLayout *layout), (cr, layout) )
     wxDL_VOIDMETHOD_DEFINE( pango_cairo_show_layout,
         (cairo_t *cr, PangoLayout *layout), (cr, layout) )
     wxDL_VOIDMETHOD_DEFINE( pango_cairo_update_layout,
         (cairo_t *cr, PangoLayout *layout), (cr, layout) )
     wxDL_VOIDMETHOD_DEFINE( pango_cairo_show_layout,
         (cairo_t *cr, PangoLayout *layout), (cr, layout) )
-
+#endif
     wxDECLARE_NO_COPY_CLASS(wxCairoLibrary);
 };
 
     wxDECLARE_NO_COPY_CLASS(wxCairoLibrary);
 };