Added gallery to the default shapes

+ ObjectList (MSW specific): Don't change background color for Light color mode
This commit is contained in:
YuSanka 2021-07-15 10:51:57 +02:00
parent 8c23678fa0
commit b921c8b276
4 changed files with 41 additions and 2 deletions

View file

@ -1138,7 +1138,7 @@ void GUI_App::UpdateDlgDarkUI(wxDialog* dlg, bool just_buttons_update/* = false*
void GUI_App::UpdateDVCDarkUI(wxDataViewCtrl* dvc, bool highlited/* = false*/)
{
#ifdef _WIN32
UpdateDarkUI(dvc, highlited);
UpdateDarkUI(dvc, highlited ? dark_mode() : false);
wxItemAttr attr(dark_mode() ? m_color_highlight_default : m_color_label_default,
m_color_window_default,
m_normal_font);