From 80676593714aca5ba9003ef2fd6bc16dc6074eed Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 20 Feb 2005 14:38:17 +0000 Subject: [PATCH] compilation fix for wxUSE_STL==1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/valtext.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/common/valtext.cpp b/src/common/valtext.cpp index 86211d8434..3fdd196499 100644 --- a/src/common/valtext.cpp +++ b/src/common/valtext.cpp @@ -221,8 +221,12 @@ inline void wxCopyStringListToArrayString(wxArrayString& to, const wxStringList& { 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) -- 2.50.0