-// --------------------------------------------------------------------------
-// Collection Support
-// --------------------------------------------------------------------------
-
-template<typename iter, typename collection_t > void wxListCollectionToAnyList(
- const collection_t& coll, wxAnyList &value )
-{
- for ( collection_t::compatibility_iterator current = coll.GetFirst(); current;
- current = current->GetNext() )
- {
- value.Append( new wxAny(current->GetData()) );
- }
-}
-
-template<typename collection_t> void wxArrayCollectionToVariantArray(
- const collection_t& coll, wxAnyList &value )
-{
- for( size_t i = 0; i < coll.GetCount(); i++ )
- {
- value.Append( new wxAny(coll[i]) );
- }
-}
-