}
wxGenericValidator::wxGenericValidator(const wxGenericValidator& val)
+ : wxValidator()
{
Copy(val);
}
{
pControl->SetStringSelection(* m_pString);
}
+ else
+ {
+ pControl->SetValue(* m_pString);
+ }
return TRUE;
}
} else
}
else if (m_pString)
{
- *m_pString = pControl->GetStringSelection();
+ *m_pString = pControl->GetValue();
return TRUE;
}
} else