// Author: Julian Smart
// Modified by: VZ at 16/11/98: WX_DECLARE_LIST() and typesafe lists added
// Created: 04/01/98
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
////////////////////////////////////////////////////////////////////////////////
{
case wxKEY_INTEGER:
{
- long key;
for ( wxNodeBase *node = list.GetFirst(); node; node = node->GetNext() )
{
- key = node->GetKeyInteger();
- Append(key, node->GetData());
+ Append(node->GetKeyInteger(), node->GetData());
}
break;
}
case wxKEY_STRING:
{
- const wxChar *key;
for ( wxNodeBase *node = list.GetFirst(); node; node = node->GetNext() )
{
- key = node->GetKeyString();
- Append(key, node->GetData());
+ Append(node->GetKeyString(), node->GetData());
}
break;
}
{
}
-wxStringListBase::BaseListType wxStringListBase::EmptyList;
+_WX_LIST_HELPER_wxStringListBase::BaseListType _WX_LIST_HELPER_wxStringListBase::EmptyList;
#endif // !wxUSE_STD_CONTAINERS