MSW-specific: FirmwareDialog: Fixed color of the text when firmware flashing is done

+ Deleted some commented code
This commit is contained in:
YuSanka 2022-01-05 09:40:39 +01:00
parent 3aad2a9f4a
commit 7d6d98cd0f
10 changed files with 11 additions and 21 deletions

View file

@ -57,7 +57,7 @@ static std::string get_icon_name(Preset::Type type, PrinterTechnology pt) {
static std::string def_text_color()
{
wxColour def_colour = wxGetApp().get_label_clr_default();//wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT);
wxColour def_colour = wxGetApp().get_label_clr_default();
auto clr_str = wxString::Format(wxT("#%02X%02X%02X"), def_colour.Red(), def_colour.Green(), def_colour.Blue());
return clr_str.ToStdString();
}