You've already forked lazarus-ccr
gtk2: use LCLVersion to make it compatible with Lazarus > 1.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2559 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1,9 +1,9 @@
|
|||||||
uses
|
uses
|
||||||
gtk2def, gdk2, GTK2Proc, Cairo;
|
gtk2def, gdk2, GTK2Proc, Cairo, LCLVersion;
|
||||||
|
|
||||||
{$MACRO ON}
|
{$MACRO ON}
|
||||||
|
|
||||||
{$ifndef LAZARUS_1_0}
|
{$if (lcl_major <> 1) or (lcl_minor <> 0)}
|
||||||
{$define TGtk2DeviceContext:=TGtkDeviceContext}
|
{$define TGtk2DeviceContext:=TGtkDeviceContext}
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user