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