Skip to content

Commit

Permalink
A bit of framework for #1909
Browse files Browse the repository at this point in the history
  • Loading branch information
gunterkoenigsmann committed Apr 29, 2024
1 parent cd0226f commit 8d14dd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cells/Cell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8d14dd6

Please sign in to comment.