wxDataViewCtrl fixes (#9818)

* init

* update
This commit is contained in:
yw4z
2025-06-07 12:15:41 +03:00
committed by GitHub
parent 8b1277b554
commit 4b893b40a1

View File

@@ -118,7 +118,7 @@ public:
wxEllipsizeMode ellipsizeMode = wxELLIPSIZE_END
) override
{ // ORCA draw custom text to improve consistency between platforms
dc.SetFont(Label::Body_13);
//dc.SetFont(win->GetFont()); Without SetFont it pulls font from window
dc.SetTextForeground(StateColor::darkModeColorFor(wxColour("#262E30"))); // use same color for selected / non-selected
dc.DrawText(text,wxPoint(rect.x, rect.y));
}