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:
@@ -364,6 +364,10 @@ bool wxSlider::Create(wxWindow *parent,
|
|||||||
if (style & wxSL_VERTICAL)
|
if (style & wxSL_VERTICAL)
|
||||||
gtk_scale_set_value_pos( GTK_SCALE(m_scale), GTK_POS_LEFT );
|
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
|
// Keep full precision in position value
|
||||||
gtk_scale_set_digits(GTK_SCALE (m_scale), -1);
|
gtk_scale_set_digits(GTK_SCALE (m_scale), -1);
|
||||||
|
Reference in New Issue
Block a user