X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16e79d48793b5be3cd7b98c12663de336f064dcf..eea4d01c65f9b29baa1193db762b4c6b8144af24:/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;