Remove commented out code from wxSlider implementation

This commit is contained in:
ali kettab 2022-11-24 17:28:19 +01:00
parent 993a7e4284
commit 4dfa2c66b4

View file

@ -81,19 +81,6 @@ bool wxSlider::Create(wxWindow *parent,
SetRange( minValue, maxValue );
SetPageSize(wxMax(1, (maxValue - minValue) / 10));
#if 0 // there are not normally ticks for a wxSlider
// draw ticks marks (default bellow if horizontal, right if vertical):
if ( style & wxSL_VERTICAL )
{
m_qtSlider->setTickPosition( style & wxSL_LEFT ? QSlider::TicksLeft :
QSlider::TicksRight );
}
else // horizontal slider
{
m_qtSlider->setTickPosition( style & wxSL_TOP ? QSlider::TicksAbove :
QSlider::TicksBelow );
}
#endif
return QtCreateControl( parent, id, pos, size, style, validator, name );
}