X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ca6a5f04692678cd2d9f3ea0843fc3f5a0b254f..f51a6f6a0c11f2d5ce58bcb858f5dfa1c27299a5:/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