From 9c7c6fa27baa34d0be4cdfcb4ffd579598c80767 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 31 Aug 2008 14:39:08 +0000 Subject: [PATCH] fix wxUSE_STL compilation after latest changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/arrstr.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/wx/arrstr.h b/include/wx/arrstr.h index 81177940fd..306af0c54c 100644 --- a/include/wx/arrstr.h +++ b/include/wx/arrstr.h @@ -19,6 +19,16 @@ #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,