From 0a936028d443885f8faf0ffa74766b5825dda77b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 17 Jun 2005 21:41:39 +0000 Subject: [PATCH] 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 --- docs/changes.txt | 1 + src/msw/slider95.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.45.2