From c1654f75eca2ea61fa18f86fc8c49d58ee5eb539 Mon Sep 17 00:00:00 2001 From: Jinhao Date: Mon, 18 Sep 2017 23:46:02 +0800 Subject: [PATCH] fix issue that typing text for spinbox doesn't draw spin buttons border --- source/gui/widgets/spinbox.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/gui/widgets/spinbox.cpp b/source/gui/widgets/spinbox.cpp index 89423eab..41b592f3 100644 --- a/source/gui/widgets/spinbox.cpp +++ b/source/gui/widgets/spinbox.cpp @@ -605,7 +605,10 @@ namespace nana { impl_->editor()->respond_char(arg); if (impl_->editor()->try_refresh()) + { + impl_->draw_spins(); API::dev::lazy_refresh(); + } } void drawer::resized(graph_reference, const arg_resized&)