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
This commit is contained in:
Vadim Zeitlin 2000-12-10 12:50:32 +00:00
parent 3d8dea7e2e
commit ca36c2cc8f

View File

@ -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