diff --git a/source/gui/widgets/listbox.cpp b/source/gui/widgets/listbox.cpp index 23e86d7e..54d5439d 100644 --- a/source/gui/widgets/listbox.cpp +++ b/source/gui/widgets/listbox.cpp @@ -2556,10 +2556,13 @@ namespace nana return false; index_pair target; - if(upwards == false) - lister.forward(scroll.offset_y_dpl, 1, target); + if (upwards == false) + { + if (!lister.forward(scroll.offset_y_dpl, this->scheme_ptr->mouse_wheel.lines, target)) + return false; + } else - lister.backward(scroll.offset_y_dpl, 1, target); + lister.backward(scroll.offset_y_dpl, this->scheme_ptr->mouse_wheel.lines, target); if (target == scroll.offset_y_dpl) return false;