bug: second parameter of category_icon() is rvalue reference
This commit is contained in:
parent
b7ddcd7d3a
commit
c5b38f3643
@ -6042,7 +6042,7 @@ namespace nana
|
|||||||
return *this;
|
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;
|
internal_scope_guard lock;
|
||||||
_m_ess().ctg_icon_renderer = [img_expanded, img_collapsed](paint::graphics& graph, const rectangle& rt_icon, bool expanded)
|
_m_ess().ctg_icon_renderer = [img_expanded, img_collapsed](paint::graphics& graph, const rectangle& rt_icon, bool expanded)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user