diff --git a/src/msw/slider.cpp b/src/msw/slider.cpp index 533303b409..3c5c561fec 100644 --- a/src/msw/slider.cpp +++ b/src/msw/slider.cpp @@ -563,8 +563,6 @@ void wxSlider::DoMoveWindow(int x, int y, int width, int height) } // position the slider itself along the top/bottom edge - if ( HasFlag(wxSL_MIN_MAX_LABELS) || HasFlag(wxSL_VALUE_LABEL) ) - labelOffset = labelHeight; wxSliderBase::DoMoveWindow( x + minLabelWidth + VGAP, ySlider,