X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80810ca399477ce4736bda433996db6a65bbcbd8..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/gtk1/slider.cpp diff --git a/src/gtk1/slider.cpp b/src/gtk1/slider.cpp index c611e0e480..996c428eaa 100644 --- a/src/gtk1/slider.cpp +++ b/src/gtk1/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 */