* 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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user