X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/116270c60a30573025f231a5d66506cf901048ff..75d3838010e2d8a9592a4a016e2994f4f0d3070b:/include/wx/arrstr.h diff --git a/include/wx/arrstr.h b/include/wx/arrstr.h index 177a6db924..d46e291df5 100644 --- a/include/wx/arrstr.h +++ b/include/wx/arrstr.h @@ -15,16 +15,18 @@ #include "wx/defs.h" #include "wx/string.h" -int WXDLLIMPEXP_BASE wxStringSortAscending(wxString*, wxString*); -int WXDLLIMPEXP_BASE wxStringSortDescending(wxString*, wxString*); +WXDLLIMPEXP_BASE int wxStringSortAscending(wxString*, wxString*); +WXDLLIMPEXP_BASE int wxStringSortDescending(wxString*, wxString*); #if wxUSE_STL #include "wx/dynarray.h" typedef int (*CMPFUNCwxString)(wxString*, wxString*); -WX_DECLARE_USER_EXPORTED_BASEARRAY(wxString, wxBaseArrayStringBase, - WXDLLIMPEXP_BASE); +typedef wxString _wxArraywxBaseArrayStringBase; +_WX_DECLARE_BASEARRAY_2(_wxArraywxBaseArrayStringBase, wxBaseArrayStringBase, + wxArray_SortFunction, + class WXDLLIMPEXP_BASE); WX_DEFINE_USER_EXPORTED_TYPEARRAY(wxString, wxArrayStringBase, wxBaseArrayStringBase, WXDLLIMPEXP_BASE); _WX_DEFINE_SORTED_TYPEARRAY_2(wxString, wxSortedArrayStringBase,