X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80810ca399477ce4736bda433996db6a65bbcbd8..8aaef28406647d6aa706c34f57dd151f00b18e5b:/src/gtk/slider.cpp?ds=sidebyside diff --git a/src/gtk/slider.cpp b/src/gtk/slider.cpp index c611e0e480..996c428eaa 100644 --- a/src/gtk/slider.cpp +++ b/src/gtk/slider.cpp @@ -112,6 +112,7 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id, if (style & wxSL_LABELS) { gtk_scale_set_draw_value( GTK_SCALE( m_widget ), TRUE ); + gtk_scale_set_digits( GTK_SCALE( m_widget ), 0 ); /* labels need more space and too small window will cause junk to appear on the dialog */