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 07e702d1f..67fa6e060 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,9 +1,9 @@ uses - gtk2def, gdk2, GTK2Proc, Cairo; + gtk2def, gdk2, GTK2Proc, Cairo, LCLVersion; {$MACRO ON} -{$ifndef LAZARUS_1_0} +{$if (lcl_major <> 1) or (lcl_minor <> 0)} {$define TGtk2DeviceContext:=TGtkDeviceContext} {$endif}