// 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
//=============================================================================