From ba9eca1aef9bf3db0c6549accac56a75dfbf78cd Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sat, 2 Apr 2011 22:19:44 +0000 Subject: [PATCH] make sure value label updates even if handle position does not change, fixes #13042 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/slider.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gtk/slider.cpp b/src/gtk/slider.cpp index a5ed7f8e33..0527106ad9 100644 --- a/src/gtk/slider.cpp +++ b/src/gtk/slider.cpp @@ -439,6 +439,8 @@ void wxSlider::GTKSetValue(int value) { GTKDisableEvents(); gtk_range_set_value(GTK_RANGE (m_scale), value); + // GTK only updates value label if handle moves at least 1 pixel + gtk_widget_queue_draw(m_scale); GTKEnableEvents(); } -- 2.45.2