* Fixes (AIF works on Linux)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1998-12-26 15:36:45 +00:00
parent d05237ea7b
commit 2a040d3f07
8 changed files with 47 additions and 12 deletions

View File

@@ -620,9 +620,10 @@ void wxStringList::Sort()
{
size_t N = GetCount();
char **array = new char *[N];
wxStringListNode *node;
size_t i = 0;
for ( wxStringListNode *node = GetFirst(); node; node = node->GetNext() )
for ( node = GetFirst(); node; node = node->GetNext() )
{
array[i++] = node->GetData();
}