From 7ba93f21646c2763f06eb4902c9c60f2f1af3e0a Mon Sep 17 00:00:00 2001 From: Jinhao Date: Thu, 14 Mar 2019 06:31:52 +0800 Subject: [PATCH] add contribution description --- source/gui/widgets/treebox.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/gui/widgets/treebox.cpp b/source/gui/widgets/treebox.cpp index 5fb97c7b..eb859353 100644 --- a/source/gui/widgets/treebox.cpp +++ b/source/gui/widgets/treebox.cpp @@ -963,6 +963,9 @@ namespace nana if(text_r.right() > visible_w_pixels()) { node_state.tooltip = new tooltip_window(data.widget_ptr->handle(), text_r); + + //PR#406 Error Flynn's contribution + //fix: tooltip window doesn't have tree scheme & typeface API::dev::set_scheme(node_state.tooltip->handle(), API::dev::get_scheme(data.widget_ptr->handle())); node_state.tooltip->typeface(data.widget_ptr->typeface());