From ee1b5a0ce4b129b85fdd094abe5e187a8e6cb58f Mon Sep 17 00:00:00 2001 From: blikblum Date: Fri, 17 Sep 2010 10:36:52 +0000 Subject: [PATCH] * Remove ifdef for Get/SetBkColor since is already implemented in LCL git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1322 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- .../virtualtreeview-new/branches/4.8/VirtualTrees.pas | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas b/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas index f7ae11924..03550e79c 100644 --- a/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas +++ b/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas @@ -22589,16 +22589,11 @@ begin // Classical selection rectangle using dotted borderlines. TextColorBackup := GetTextColor(Target.Handle); SetTextColor(Target.Handle, $FFFFFF); - //todo: implement in LCL - {$ifndef INCOMPLETE_WINAPI} BackColorBackup := GetBkColor(Target.Handle); SetBkColor(Target.Handle, 0); - {$endif} Target.DrawFocusRect(SelectionRect); SetTextColor(Target.Handle, TextColorBackup); - {$ifndef INCOMPLETE_WINAPI} SetBkColor(Target.Handle, BackColorBackup); - {$endif} end else begin @@ -22820,11 +22815,8 @@ begin begin TextColorBackup := GetTextColor(Handle); SetTextColor(Handle, $FFFFFF); - //todo: implement in LCL - {$ifndef INCOMPLETE_WINAPI} BackColorBackup := GetBkColor(Handle); SetBkColor(Handle, 0); - {$endif} {$ifdef ThemeSupport} //todo @@ -22850,9 +22842,7 @@ begin LCLIntf.DrawFocusRect(Handle, FocusRect); SetTextColor(Handle, TextColorBackup); - {$ifndef INCOMPLETE_WINAPI} SetBkColor(Handle, BackColorBackup); - {$endif} end; end; end;