Correct definition of sorting function.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2004-07-23 11:26:07 +00:00
parent eeade4ccca
commit 99f161bd99

View File

@ -290,9 +290,9 @@ static void BuildListFromNN(wxArrayString& list, NETRESOURCE* pResSrc,
// Function: CompareFcn
// Purpose: Used to sort the NN list alphabetically, case insensitive.
//=============================================================================
static int CompareFcn(wxString* first, wxString* second)
static int CompareFcn(const wxString& first, const wxString& second)
{
return wxStricmp(first->c_str(), second->c_str());
return wxStricmp(first.c_str(), second.c_str());
} // CompareFcn
//=============================================================================