fix listbox auto-redraw issue

This commit is contained in:
Jinhao 2015-07-06 22:23:05 +08:00
parent 5f9a98c7bc
commit 59f3554632

View File

@ -3512,6 +3512,7 @@ namespace nana
m.flags.checked = ck;
arg_listbox arg{*this, ck};
ess_->lister.wd_ptr()->events().checked.emit(arg);
ess_->update();
}
return *this;
}
@ -3539,6 +3540,7 @@ namespace nana
else if (ess_->lister.last_selected_abs == pos_)
ess_->lister.last_selected_abs.set_both(npos);
ess_->update();
return *this;
}