bug: second parameter of category_icon() is rvalue reference

This commit is contained in:
ErrorFlynn
2019-04-18 17:12:31 -04:00
committed by GitHub
parent b7ddcd7d3a
commit c5b38f3643

View File

@@ -6042,7 +6042,7 @@ namespace nana
return *this;
}
listbox& listbox::category_icon(const paint::image& img_expanded, const paint::image&& img_collapsed)
listbox& listbox::category_icon(const paint::image& img_expanded, const paint::image& img_collapsed)
{
internal_scope_guard lock;
_m_ess().ctg_icon_renderer = [img_expanded, img_collapsed](paint::graphics& graph, const rectangle& rt_icon, bool expanded)