X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cc6a9db04893bae4e1a768c682fc95143873311..28e5e577e4d26332a7ebdf7d1dc7492807fa1601:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index f0cb6d2910..aa461904f4 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -2325,12 +2325,12 @@ bool wxArrayString::operator==(const wxArrayString& a) const #endif // !wxUSE_STL -int wxStringSortAscending(wxString* s1, wxString* s2) +int wxCMPFUNC_CONV wxStringSortAscending(wxString* s1, wxString* s2) { return wxStrcmp(s1->c_str(), s2->c_str()); } -int wxStringSortDescending(wxString* s1, wxString* s2) +int wxCMPFUNC_CONV wxStringSortDescending(wxString* s1, wxString* s2) { return -wxStrcmp(s1->c_str(), s2->c_str()); }