From 83f79111c1bbe2b6bd5581b1bdb4bdb5303d3911 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Mon, 13 Dec 2021 09:27:35 +0100 Subject: [PATCH] Fix for #7481 - Found typo in BitmapComboBox.cpp L257: _MSW_DAEK_MODE --- src/slic3r/GUI/BitmapComboBox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/BitmapComboBox.cpp b/src/slic3r/GUI/BitmapComboBox.cpp index 24bc8dcfd20..3396c627bee 100644 --- a/src/slic3r/GUI/BitmapComboBox.cpp +++ b/src/slic3r/GUI/BitmapComboBox.cpp @@ -254,8 +254,8 @@ void BitmapComboBox::DrawBackground_(wxDC& dc, const wxRect& rect, int WXUNUSED( dc.SetTextForeground(flags & ODCB_PAINTING_DISABLED ? wxColour(108,108,108) : wxGetApp().get_label_clr_default()); wxColour selCol = flags & ODCB_PAINTING_DISABLED ? -#ifdef _MSW_DAEK_MODE - wxRGBToColour(NppDarkMode::InvertLightnessSofter(NppDarkMode::GetBackgroundColor())) : +#ifdef _MSW_DARK_MODE + wxRGBToColour(NppDarkMode::GetSofterBackgroundColor()) : #else wxGetApp().get_highlight_default_clr() : #endif