wxArrayString::Sort(bool) not deprecated (yet).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-07-04 09:01:46 +00:00
parent d4c92f55d4
commit fd3f01603a

View File

@ -2153,15 +2153,11 @@ void wxArrayString::Sort(CompareFunction2 compareFunction)
qsort(m_pItems, m_nCount, sizeof(wxChar *), (wxStringCompareFn)compareFunction);
}
#if WXWIN_COMPATIBILITY_2_4
void wxArrayString::Sort(bool reverseOrder)
{
Sort(reverseOrder ? wxStringSortDescending : wxStringSortAscending);
}
#endif // WXWIN_COMPATIBILITY_2_4
void wxArrayString::DoSort()
{
wxCHECK_RET( !m_autoSort, wxT("can't use this method with sorted arrays") );