make all internal event handlers unignorable

This commit is contained in:
cnjinhao
2015-02-04 01:34:50 +08:00
parent 9627a05280
commit 38552b855b
14 changed files with 58 additions and 55 deletions

View File

@@ -2020,10 +2020,10 @@ namespace nana
{
scroll.h.create(wd, r);
API::take_active(scroll.h.handle(), false, wd);
scroll.h.events().mouse_move.connect([this](const nana::arg_mouse& arg){
scroll.h.events().mouse_move.connect_unignorable([this](const nana::arg_mouse& arg){
_m_answer_scroll(arg);
});
scroll.h.events().mouse_up.connect([this](const nana::arg_mouse& arg){
scroll.h.events().mouse_up.connect_unignorable([this](const nana::arg_mouse& arg){
_m_answer_scroll(arg);
});
}
@@ -2040,12 +2040,12 @@ namespace nana
{
scroll.v.create(wd, r);
API::take_active(scroll.v.handle(), false, wd);
scroll.v.events().mouse_move.connect([this](const ::nana::arg_mouse& arg)
scroll.v.events().mouse_move.connect_unignorable([this](const ::nana::arg_mouse& arg)
{
_m_answer_scroll(arg);
});
scroll.v.events().mouse_up.connect([this](const ::nana::arg_mouse& arg)
scroll.v.events().mouse_up.connect_unignorable([this](const ::nana::arg_mouse& arg)
{
_m_answer_scroll(arg);
});