From: Vadim Zeitlin Date: Fri, 17 Jun 2005 21:41:39 +0000 (+0000) Subject: fixed typo in GetSelEnd() which made that the function didn't work (bug 1219791) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0a936028d443885f8faf0ffa74766b5825dda77b?hp=6143d3b61e311ae647577c284eaf41dded4e2b3c fixed typo in GetSelEnd() which made that the function didn't work (bug 1219791) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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