From 4ad8cdec8b0e235634779fb16b596bbd29ec0229 Mon Sep 17 00:00:00 2001 From: Jinhao Date: Wed, 14 Oct 2015 22:25:07 +0800 Subject: [PATCH] fix an issue that no respending when double-click the scrollbar --- include/nana/gui/widgets/scroll.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/nana/gui/widgets/scroll.hpp b/include/nana/gui/widgets/scroll.hpp index 917a5da5..28ac3326 100644 --- a/include/nana/gui/widgets/scroll.hpp +++ b/include/nana/gui/widgets/scroll.hpp @@ -243,6 +243,11 @@ namespace nana } } + void dbl_click(graph_reference graph, const arg_mouse& arg) override + { + mouse_down(graph, arg); + } + void mouse_down(graph_reference graph, const arg_mouse& arg) override { if (arg.left_button)