]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dirctrlg.cpp
wxWindowMSW::OnInitDialog is only implemented for WinCE
[wxWidgets.git] / src / generic / dirctrlg.cpp
index f87cb7b8bda7f4d679f314dbcbd7b3bea615f481..66ea7d88fe3f7b51e99b7521b189db549afd68d7 100644 (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);
 }
 
 //-----------------------------------------------------------------------------