// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "valtext.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
{
to.Clear();
- for(wxStringList::Node* pNode = from.GetFirst(); pNode; pNode = pNode->GetNext())
+ for ( wxStringList::compatibility_iterator pNode = from.GetFirst();
+ pNode;
+ pNode = pNode->GetNext() )
+ {
to.Add(pNode->GetData());
+ }
}
inline void wxCopyArrayStringToStringList(wxStringList& to, const wxArrayString& from)