Remove commented out code from wxSlider implementation
This commit is contained in:
parent
993a7e4284
commit
4dfa2c66b4
1 changed files with 0 additions and 13 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue