WinCE fixes from "Viktor Voroshylo" <viktor@voroshylo.com>

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-11-18 21:25:44 +00:00
parent 0fee8cc4fa
commit eae4425db6
10 changed files with 24 additions and 10 deletions

View File

@@ -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());
}