+
+void wxStringList::operator= (const wxStringList& list)
+{
+ Clear();
+
+ wxNode *node = list.First();
+ while (node)
+ {
+ char *s = (char *) node->Data ();
+ Add(s);
+ node = node->Next();
+ }
+}
+
+char* wxStringList::operator[] (int i) const
+{
+ wxASSERT_MSG( (i < Number()), "Invalid index for wxStringList" );
+
+ return (char*) (Nth(i)->Data());
+}
+