]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed typo in GetSelEnd() which made that the function didn't work (bug 1219791)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 17 Jun 2005 21:41:39 +0000 (21:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 17 Jun 2005 21:41:39 +0000 (21:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/changes.txt
src/msw/slider95.cpp

index a521042ecd600de1ac7dee7753535d095206c420..a03e6752097c814fefb1e8856ad1ab3a08f78c73 100644 (file)
@@ -13,6 +13,7 @@ All:
 wxMSW:
 
 - Fixed multiline tooltips handling.
+- Fixed wxSlider::GetSelEnd() (Atilim Cetin)
 
 wxUniv:
 
index da83a733f62b37fa46d53cdf45c7f90678b53b87..479a180b8210f3d9039abc1ef2df39ff7b8b6c59 100644 (file)
@@ -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