From 383d872db707d4d38e5fc0a2582d859e8da018f5 Mon Sep 17 00:00:00 2001 From: alexs75 Date: Tue, 6 Feb 2018 13:59:28 +0000 Subject: [PATCH] RxFPC:fix compile on Lazarus 1.8 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6181 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/rx/trunk/rxdb/rxlookup.pas | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/rx/trunk/rxdb/rxlookup.pas b/components/rx/trunk/rxdb/rxlookup.pas index ed3813552..403b0466c 100644 --- a/components/rx/trunk/rxdb/rxlookup.pas +++ b/components/rx/trunk/rxdb/rxlookup.pas @@ -410,7 +410,7 @@ type end; implementation -uses rxlclutils, Math, rxdconst; +uses rxlclutils, Math, rxdconst, LCLVersion; type { TDbGridAccess = class(TDbGrid) @@ -1533,7 +1533,11 @@ begin begin if Enabled then begin + {$IF lcl_fullversion >= 1090000} if MouseInClient then + {$ELSE} + if MouseEntered then + {$ENDIF} begin if FMouseDown then begin