From 8d14dd62ca0fb73472ff4b768ac17f27a121ee4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gunter=20K=C3=B6nigsmann?= Date: Mon, 29 Apr 2024 21:31:07 +0200 Subject: [PATCH] A bit of framework for #1909 --- src/cells/Cell.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cells/Cell.cpp b/src/cells/Cell.cpp index e39d441c0..78724ef9d 100644 --- a/src/cells/Cell.cpp +++ b/src/cells/Cell.cpp @@ -136,6 +136,8 @@ wxBitmap Cell::BitmapFromSVG(wxString svgData, wxSize size) { svgData.Replace("\"currentColor\"", "\"#" + wxColor2HtmlString(GetForegroundColor()) + "\""); + svgData.Replace("\"currentBackground\"", + "\"#" + wxColor2HtmlString(GetBackgroundColor()) + "\""); #if wxCHECK_VERSION(3, 1, 6) wxBitmapBundle sumbitmap = wxBitmapBundle::FromSVG(svgData.c_str(), size);