From 6eb3432e9ad6807e2b81adc67043469e58f98491 Mon Sep 17 00:00:00 2001 From: blikblum Date: Tue, 9 Jun 2009 02:24:48 +0000 Subject: [PATCH] * Fix compilation on non windows git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@831 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/virtualtreeview-new/VirtualTrees.pas | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/virtualtreeview-new/VirtualTrees.pas b/components/virtualtreeview-new/VirtualTrees.pas index 9b0510671..5513c0e6e 100644 --- a/components/virtualtreeview-new/VirtualTrees.pas +++ b/components/virtualtreeview-new/VirtualTrees.pas @@ -24091,7 +24091,8 @@ begin end else begin - Brush.Style := bsClear; + //lcl: Is not necessary to set the style here + //Brush.Style := bsClear; end; end else @@ -24171,7 +24172,7 @@ begin InflateRect(FocusRect, -1, -1); {$endif ThemeSupport} - Windows.DrawFocusRect(Handle, FocusRect); + LCLIntf.DrawFocusRect(Handle, FocusRect); SetTextColor(Handle, TextColorBackup); SetBkColor(Handle, BackColorBackup); end;