wxUSE_STL/wxArrayString fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-07-23 14:33:01 +00:00
parent 99f161bd99
commit a2a03d7864
3 changed files with 6 additions and 6 deletions

View File

@@ -407,9 +407,9 @@ bool wxIsDriveAvailable(const wxString& dirName)
// Function which is called by quick sort. We want to override the default wxArrayString behaviour,
// and sort regardless of case.
static int wxCMPFUNC_CONV wxDirCtrlStringCompareFunction(wxString* strFirst, wxString* strSecond)
static int wxCMPFUNC_CONV wxDirCtrlStringCompareFunction(const wxString& strFirst, const wxString& strSecond)
{
return strFirst->CmpNoCase(*strSecond);
return strFirst.CmpNoCase(strSecond);
}
//-----------------------------------------------------------------------------