assert when sorting wxArrayString twice fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2128,6 +2128,9 @@ void wxArrayString::Sort(CompareFunction compareFunction)
|
|||||||
|
|
||||||
DoSort();
|
DoSort();
|
||||||
|
|
||||||
|
// reset it to NULL so that Sort(bool) will work the next time
|
||||||
|
gs_compareFunction = NULL;
|
||||||
|
|
||||||
END_SORT();
|
END_SORT();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user