added Append(wxArrayString) to wxItemContainer (and so to wxChoice, wxComboBox, wxListBox, ...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -57,6 +57,19 @@ wxString wxItemContainer::GetStringSelection() const
|
||||
return s;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// appending items
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void wxItemContainer::Append(const wxArrayString& strings)
|
||||
{
|
||||
size_t count = strings.GetCount();
|
||||
for ( size_t n = 0; n < count; n++ )
|
||||
{
|
||||
Append(strings[n]);
|
||||
}
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// client data
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user