corrected the direction of comparisons between wxString and char/wxChar strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2427,7 +2427,7 @@ private:
|
||||
// wxString comparison functions: operator versions are always case sensitive
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
#define wxCMP_WXCHAR_STRING(p, s, op) s.Cmp(p) op 0
|
||||
#define wxCMP_WXCHAR_STRING(p, s, op) 0 op s.Cmp(p)
|
||||
|
||||
wxDEFINE_ALL_COMPARISONS(const wxChar *, const wxString&, wxCMP_WXCHAR_STRING)
|
||||
|
||||
|
Reference in New Issue
Block a user