git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28421
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// 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
//=============================================================================