MSW-specific: Application Mode Buttons: Added the orange-ish background over the bold font to indicate selection

(see comments for #6860)
This commit is contained in:
YuSanka 2021-09-10 08:01:45 +02:00
parent 0abab45efa
commit ff82c82f52
3 changed files with 27 additions and 2 deletions

View file

@ -672,6 +672,9 @@ void ModeButton::focus_button(const bool focus)
Slic3r::GUI::wxGetApp().normal_font();
SetFont(new_font);
//#ifdef _WIN32
// GetParent()->Refresh();
//#else
#ifndef _WIN32
SetForegroundColour(wxSystemSettings::GetColour(focus ? wxSYS_COLOUR_BTNTEXT :
#if defined (__linux__) && defined (__WXGTK3__)