Centre wxSlider value correctly when wxSL_MIN_MAX_LABELS is not used.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 12 Jul 2011 09:13:39 +0000 (09:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 12 Jul 2011 09:13:39 +0000 (09:13 +0000)
commitb748750e13e48bee0354812ff84d31cc7790fca1
tree33ca6924d51616f225477d81ba0cbe729ff26c57
parent1bf9327b5dc4cb5c8b67263db61abe363f9b59bf
Centre wxSlider value correctly when wxSL_MIN_MAX_LABELS is not used.

r68230 fixed the width of the value label in this case but not its position:
it was left-aligned instead of being centered as it should be.

See #13291.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/slider.cpp