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:
Vadim Zeitlin
2000-05-04 11:42:51 +00:00
parent 758a4bb5a6
commit 5fe87ba09f

View File

@@ -2128,6 +2128,9 @@ void wxArrayString::Sort(CompareFunction compareFunction)
DoSort();
// reset it to NULL so that Sort(bool) will work the next time
gs_compareFunction = NULL;
END_SORT();
}