Enable the tick marks to actually show on the STEPPED_SLIDER

This commit is contained in:
Marek Roszko 2021-07-06 00:06:57 -04:00
parent 96a177da3d
commit c356cd2aa9
1 changed files with 3 additions and 1 deletions

View File

@ -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 )
{}