From f80f36872e7e6099a07f84122f93c876484bd1d1 Mon Sep 17 00:00:00 2001 From: blikblum Date: Sat, 13 Oct 2012 11:21:20 +0000 Subject: [PATCH] * Fix transparency issues under 64bit git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2550 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/virtualtreeview-new/branches/4.8/VirtualTrees.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas b/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas index 773024aac..1be74f1fa 100644 --- a/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas +++ b/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas @@ -5005,6 +5005,7 @@ begin CF_VTREFERENCE := ClipboardRegisterFormat(CFSTR_VTREFERENCE); UtilityImages := TBitmap.Create; + UtilityImages.Transparent := True; UtilityImages.LoadFromLazarusResource('VT_UTILITIES'); // Specify an useful timer resolution for timeGetTime. @@ -20261,7 +20262,7 @@ begin else begin FCheckImages := TBitmap.Create; - FCheckImages.TransparentColor := clDefault; + FCheckImages.Transparent := True; FCheckImages.LoadFromLazarusResource(CheckImagesStrings[FCheckImageKind]); end; end;