X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..3e2656801d825761f55ea9b0b766802c6cd32f1d:/src/msw/volume.cpp diff --git a/src/msw/volume.cpp b/src/msw/volume.cpp index f1750775a5..86f752e1b6 100644 --- a/src/msw/volume.cpp +++ b/src/msw/volume.cpp @@ -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 //=============================================================================