diff --git a/docs/changes.txt b/docs/changes.txt index a521042ecd..a03e675209 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -13,6 +13,7 @@ All: wxMSW: - Fixed multiline tooltips handling. +- Fixed wxSlider::GetSelEnd() (Atilim Cetin) wxUniv: diff --git a/src/msw/slider95.cpp b/src/msw/slider95.cpp index da83a733f6..479a180b82 100644 --- a/src/msw/slider95.cpp +++ b/src/msw/slider95.cpp @@ -660,7 +660,7 @@ int wxSlider::GetLineSize() const int wxSlider::GetSelEnd() const { - return (int)::SendMessage(GetHwnd(), TBM_SETSELEND, 0, 0); + return (int)::SendMessage(GetHwnd(), TBM_GETSELEND, 0, 0); } int wxSlider::GetSelStart() const