]> git.saurik.com Git - wxWidgets.git/commitdiff
wxArrayString::Sort(bool) not deprecated (yet).
authorMattia Barbon <mbarbon@cpan.org>
Fri, 4 Jul 2003 09:01:46 +0000 (09:01 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Fri, 4 Jul 2003 09:01:46 +0000 (09:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/string.cpp

index 76251136cad3b9696f2e2611c6190331471204b7..7fe2592efb518ff128036fbf22e086a1ebbb253e 100644 (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") );