fix syntax errors and warnings

This commit is contained in:
Jinhao
2017-03-17 07:29:34 +08:00
parent 33424f0c75
commit 431f0af893
9 changed files with 22 additions and 54 deletions

View File

@@ -611,7 +611,7 @@ namespace nana
{
scroll.create(*data.widget_ptr, nana::rectangle(data.graph->width() - 16, 0, 16, data.graph->height()));
scroll.events().value_changed.connect_unignorable([this](const arg_scroll& arg)
scroll.events().value_changed.connect_unignorable([this](const arg_scroll&)
{
adjust.scroll_timestamp = nana::system::timestamp();
adjust.timer.start();
@@ -1791,7 +1791,6 @@ namespace nana
if (!node)
return;
auto & node_state = impl_->node_state;
switch (nl.what())
{
case component::icon: