diff --git a/common/widgets/stepped_slider.cpp b/common/widgets/stepped_slider.cpp index 620d53e90b..7d0977df1b 100644 --- a/common/widgets/stepped_slider.cpp +++ b/common/widgets/stepped_slider.cpp @@ -30,7 +30,9 @@ STEPPED_SLIDER::STEPPED_SLIDER( wxWindow* aParent, wxWindowID aId, int aValue, i int aMaxValue, const wxPoint& aPos, const wxSize& aSize, long aStyle, const wxValidator& aValidator, const wxString& aName ) : - wxSlider( aParent, aId, aValue, aMinValue, aMaxValue, aPos, aSize, aStyle, aValidator, + wxSlider( aParent, aId, aValue, aMinValue, aMaxValue, aPos, aSize, + ( aStyle | wxSL_AUTOTICKS | wxSL_MIN_MAX_LABELS ), + aValidator, aName ), m_step( 1 ) {}