diff --git a/components/virtualtreeview-new/branches/4.8/include/intf/gtk2/vtgraphicsi.inc b/components/virtualtreeview-new/branches/4.8/include/intf/gtk2/vtgraphicsi.inc index e675e37db..07e702d1f 100644 --- a/components/virtualtreeview-new/branches/4.8/include/intf/gtk2/vtgraphicsi.inc +++ b/components/virtualtreeview-new/branches/4.8/include/intf/gtk2/vtgraphicsi.inc @@ -1,6 +1,11 @@ uses gtk2def, gdk2, GTK2Proc, Cairo; +{$MACRO ON} + +{$ifndef LAZARUS_1_0} +{$define TGtk2DeviceContext:=TGtkDeviceContext} +{$endif} function gdk_cairo_create(drawable: PGdkDrawable): Pcairo_t cdecl external gdklib;