fix warning for mingw32

This commit is contained in:
lsv 2025-10-16 09:24:07 +05:00
parent 7db41df697
commit 0f91ec5e67
12 changed files with 55 additions and 33 deletions

View file

@ -184,8 +184,12 @@ void ctlNavigatePanel::Init(bool reorganization) {
wxString strcolor = indicator["color"].AsString();
wxColour cc(strcolor);
statistics_mark el{0,enable,cc};
if (!reorganization)
if (cc.IsOk()) mark_color.push_back(el); else mark_color.push_back(statistics_mark { 0, false,*wxBLACK });
if (!reorganization) {
if (cc.IsOk())
mark_color.push_back(el);
else
mark_color.push_back(statistics_mark { 0, false,*wxBLACK });
}
//search_rule
wxJSONValue inc = indicator["include"];
wxJSONValue exc = indicator["exclude"];