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:
@@ -225,6 +225,10 @@ bool wxGenericValidator::TransferToWindow(void)
|
||||
{
|
||||
pControl->SetStringSelection(* m_pString);
|
||||
}
|
||||
else
|
||||
{
|
||||
pControl->SetValue(* m_pString);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
} else
|
||||
|
Reference in New Issue
Block a user