mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-26 02:01:12 -06:00
Fix for #7481 - Found typo in BitmapComboBox.cpp L257: _MSW_DAEK_MODE
This commit is contained in:
parent
021457d40f
commit
23284b61ea
1 changed files with 2 additions and 2 deletions
|
|
@ -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());
|
dc.SetTextForeground(flags & ODCB_PAINTING_DISABLED ? wxColour(108,108,108) : wxGetApp().get_label_clr_default());
|
||||||
|
|
||||||
wxColour selCol = flags & ODCB_PAINTING_DISABLED ?
|
wxColour selCol = flags & ODCB_PAINTING_DISABLED ?
|
||||||
#ifdef _MSW_DAEK_MODE
|
#ifdef _MSW_DARK_MODE
|
||||||
wxRGBToColour(NppDarkMode::InvertLightnessSofter(NppDarkMode::GetBackgroundColor())) :
|
wxRGBToColour(NppDarkMode::GetSofterBackgroundColor()) :
|
||||||
#else
|
#else
|
||||||
wxGetApp().get_highlight_default_clr() :
|
wxGetApp().get_highlight_default_clr() :
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue