]> git.saurik.com Git - wxWidgets.git/commitdiff
fix wxUSE_STL compilation after latest changes
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 31 Aug 2008 14:39:08 +0000 (14:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 31 Aug 2008 14:39:08 +0000 (14:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/arrstr.h

index 81177940fdf9317e0d4c40e519fc68cce8a67c96..306af0c54cf1669c39a3fa3a01e78193f5c4f671 100644 (file)
 
 #include "wx/dynarray.h"
 
+inline int wxCMPFUNC_CONV wxStringSortAscending(wxString* s1, wxString* s2)
+{
+    return s1->Cmp(*s2);
+}
+
+inline int wxCMPFUNC_CONV wxStringSortDescending(wxString* s1, wxString* s2)
+{
+    return wxStringSortAscending(s2, s1);
+}
+
 typedef int (wxCMPFUNC_CONV *CMPFUNCwxString)(wxString*, wxString*);
 typedef wxString _wxArraywxBaseArrayStringBase;
 _WX_DECLARE_BASEARRAY_2(_wxArraywxBaseArrayStringBase, wxBaseArrayStringBase,