diff --git a/source/gui/widgets/listbox.cpp b/source/gui/widgets/listbox.cpp index 494daa4c..43b7615e 100644 --- a/source/gui/widgets/listbox.cpp +++ b/source/gui/widgets/listbox.cpp @@ -4342,7 +4342,7 @@ namespace nana else { auto selected = lister.pick_items(true); - if (selected.cend() != std::find(selected.cbegin(), selected.cend(), item_pos)) + if (selected.cend() != std::find(selected.cbegin(), selected.cend(), abs_item_pos)) { //If the current selected one has been selected before selecting, remains the selection states for all //selected items. But these items will be unselected when the mouse is released.