Fix for #7481 - Found typo in BitmapComboBox.cpp L257: _MSW_DAEK_MODE
This commit is contained in:
parent
021457d40f
commit
23284b61ea
@ -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…
Reference in New Issue
Block a user