Configure page and line size in STEPPED_SLIDER

This commit is contained in:
Marek Roszko 2021-07-06 00:40:53 -04:00
parent c356cd2aa9
commit 70ce74ed4a
1 changed files with 6 additions and 0 deletions

View File

@ -47,6 +47,12 @@ void STEPPED_SLIDER::SetStep( int aSize )
wxASSERT( aSize > 0 );
m_step = ( aSize > 0 ) ? aSize : 1;
// configure pg up/down to increment by our steps
SetPageSize( aSize );
//configure arrows to incrment by our steps
SetLineSize( aSize );
#ifdef __WXMSW__
ClearTicks();