diff --git a/Source/SVGIconItems.pas b/Source/SVGIconItems.pas index 9cbed571..130dbe5e 100644 --- a/Source/SVGIconItems.pas +++ b/Source/SVGIconItems.pas @@ -173,7 +173,7 @@ function TSVGIconItem.GetBitmap(const AWidth, AHeight: Integer; if TStyleManager.IsCustomStyleActive then Result.Canvas.Brush.Color := StyleServices.GetSystemColor(clWindow) else - Result.Canvas.Brush.Color := clWindow; + Result.Canvas.Brush.Color := ColorToRGB(clWindow); Result.SetSize(AWidth, AHeight); FSVG.PaintTo(Result.Canvas.Handle, TRectF.Create(0, 0, AWidth, AHeight));