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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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));
}