From f050bdbd5b69ed1a6752102f0c4c13bc7cb4ed3c Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sat, 14 Nov 2009 18:56:07 +0000 Subject: [PATCH] Hide value label explicitly git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/slider.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gtk/slider.cpp b/src/gtk/slider.cpp index a0998bc13b..872537d2f1 100644 --- a/src/gtk/slider.cpp +++ b/src/gtk/slider.cpp @@ -364,6 +364,10 @@ bool wxSlider::Create(wxWindow *parent, if (style & wxSL_VERTICAL) gtk_scale_set_value_pos( GTK_SCALE(m_scale), GTK_POS_LEFT ); } + else + { + gtk_scale_set_draw_value(GTK_SCALE (m_scale), FALSE ); + } // Keep full precision in position value gtk_scale_set_digits(GTK_SCALE (m_scale), -1); -- 2.45.2