Skip to content

Commit

Permalink
Fixed: small regression: TreeCtrl: allow per cell / row font
Browse files Browse the repository at this point in the history
  • Loading branch information
eranif committed Apr 18, 2022
1 parent 832a217 commit 70ff062
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Plugin/clRowEntry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,9 +461,10 @@ void clRowEntry::Render(wxWindow* win, wxDC& dc, const clColours& c, int row_ind
colours = c; // reset the colours
clCellValue& cell = GetColumn(i);
wxFont f = m_tree->GetDefaultFont();
// if(cell.GetFont().IsOk()) {
// f = cell.GetFont();
// }
if(cell.GetFont().IsOk()) {
f = cell.GetFont();
}

if(cell.GetTextColour().IsOk()) {
colours.SetItemTextColour(cell.GetTextColour());
}
Expand Down

0 comments on commit 70ff062

Please sign in to comment.