Configure page and line size in STEPPED_SLIDER
This commit is contained in:
parent
c356cd2aa9
commit
70ce74ed4a
|
@ -47,6 +47,12 @@ void STEPPED_SLIDER::SetStep( int aSize )
|
||||||
wxASSERT( aSize > 0 );
|
wxASSERT( aSize > 0 );
|
||||||
m_step = ( aSize > 0 ) ? aSize : 1;
|
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__
|
#ifdef __WXMSW__
|
||||||
ClearTicks();
|
ClearTicks();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue