Commit cec1e4e6 authored by twanvl's avatar twanvl

set text color to system foreground color (working on #22: correct use of os theme colors)

parent 2e036844
......@@ -41,6 +41,7 @@ void NativeLookEditor::drawViewer(RotatedDC& dc, ValueViewer& v) {
draw_control_box(this, dc.getDC(), dc.trRectStraight(s.getInternalRect().grow(1)), current_editor == e, e != nullptr);
// draw label
dc.SetFont(*wxNORMAL_FONT);
dc.SetTextForeground(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNTEXT));
// TODO : tr using stylesheet or using game?
dc.DrawText(tr(getStylePackage(), s.fieldP->name, capitalize_sentence),
RealPoint(margin_left - s.left, 1));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment