Use string sort order with CompareString() in wxString::CmpNoCase().
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Apr 2010 00:36:22 +0000 (00:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Apr 2010 00:36:22 +0000 (00:36 +0000)
commit1935acd7a5748a73f24d97a7084066a18997dcb4
treea2650586d70d377b53de14345283a008edb51395
parentd8eff331e23435d9d8d6483a40f6fd9997a13f87
Use string sort order with CompareString() in wxString::CmpNoCase().

Using the default word sort order may fail to define a strict weak order using
this function, thus breaking algorithms such as std::sort which rely on its
properties. It's also more consistent with the fallback manual implementation.

Closes #10375.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/string.cpp