////////////////////////////////////////////////////////////////////////////// // Name: SVGStringList.cpp // Author: Alex Thuering // Copyright: (c) 2005 Alex Thuering // Licence: wxWindows licence // Notes: generated by genList.py ////////////////////////////////////////////////////////////////////////////// #include "SVGStringList.h" #include #include WX_DEFINE_OBJARRAY(wxSVGStringListBase); wxString wxSVGStringList::GetValueAsString() const { wxString value; for (int i=0; i<(int)GetCount(); i++) value += (i==0 ? wxT("") : wxT(",")) + Item(i); return value; } void wxSVGStringList::SetValueAsString(const wxString& value) { wxStringTokenizer tkz(value, wxT(",")); while (tkz.HasMoreTokens()) Add(tkz.GetNextToken()); }