fix issue that listbox::erase(item_proxy) wouldn't erase item
This commit is contained in:
parent
45a66910ba
commit
526f3d6d6b
@ -5376,6 +5376,8 @@ namespace nana
|
|||||||
if (start_pos < origin.y)
|
if (start_pos < origin.y)
|
||||||
origin.y -= ess->item_height();
|
origin.y -= ess->item_height();
|
||||||
|
|
||||||
|
ess->lister.erase(_where);
|
||||||
|
|
||||||
ess->calc_content_size(false);
|
ess->calc_content_size(false);
|
||||||
ess->content_view->change_position(origin.y, false, false);
|
ess->content_view->change_position(origin.y, false, false);
|
||||||
ess->content_view->sync(false);
|
ess->content_view->sync(false);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user