Fixed a bug in transferring data to a wxComboBox if string is not

in the list of strings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-06-12 21:20:56 +00:00
parent c1cb41536a
commit 7cc3cec9a7

View File

@@ -225,6 +225,10 @@ bool wxGenericValidator::TransferToWindow(void)
{
pControl->SetStringSelection(* m_pString);
}
else
{
pControl->SetValue(* m_pString);
}
return TRUE;
}
} else