X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da6069e29c0dd892eb2e55e4314499f68fb4c02b..0fe5e8fea017ecb73f8aaa8ceb745feb269b3f79:/src/common/ctrlsub.cpp diff --git a/src/common/ctrlsub.cpp b/src/common/ctrlsub.cpp index 1d8421d728..aa0714d83f 100644 --- a/src/common/ctrlsub.cpp +++ b/src/common/ctrlsub.cpp @@ -38,6 +38,11 @@ // implementation // ============================================================================ +wxItemContainer::~wxItemContainer() +{ + // this destructor is required for Darwin +} + // ---------------------------------------------------------------------------- // selection // ---------------------------------------------------------------------------- @@ -52,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 // ----------------------------------------------------------------------------