X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16e79d48793b5be3cd7b98c12663de336f064dcf..b404a8f3b072129c107c6d9a5e0f6f53cd34807b:/src/msw/slider.cpp diff --git a/src/msw/slider.cpp b/src/msw/slider.cpp index f7aefdd599..7c1c7103f2 100644 --- a/src/msw/slider.cpp +++ b/src/msw/slider.cpp @@ -490,7 +490,7 @@ void wxSlider::DoMoveWindow(int x, int y, int width, int height) int xLabelValue = x + minLabelWidth + ((width - (minLabelWidth + maxLabelWidth)) / 2) - - (maxLabelWidth / 2); + (longestLabelWidth / 2); int ySlider = y;