From: Robert Roebling <robert@roebling.de>
Date: Sat, 14 Nov 2009 18:56:07 +0000 (+0000)
Subject: Hide value label explicitly
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f050bdbd5b69ed1a6752102f0c4c13bc7cb4ed3c

Hide value label explicitly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

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);