Hide value label explicitly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2009-11-14 18:56:07 +00:00
parent d16d698f1e
commit f050bdbd5b

View File

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