From: Vadim Zeitlin Date: Sun, 10 Dec 2000 12:50:32 +0000 (+0000) Subject: merged in slider validation bug from the 2.2 branch X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ca36c2cc8fd714e90318a02a881b823a68305408 merged in slider validation bug from the 2.2 branch git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/valgen.cpp b/src/common/valgen.cpp index 5f687dd7ea..5ce9a769ae 100644 --- a/src/common/valgen.cpp +++ b/src/common/valgen.cpp @@ -410,7 +410,7 @@ bool wxGenericValidator::TransferFromWindow(void) wxSlider* pControl = (wxSlider*) m_validatorWindow; if (m_pInt) { - pControl->SetValue(*m_pInt) ; + *m_pInt = pControl->GetValue() ; return TRUE; } } else