X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ca6a5f04692678cd2d9f3ea0843fc3f5a0b254f..84028727cbe6ee787af8e741daa7031c2e26b7b3:/src/common/valgen.cpp 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