Return -1 from the comparison function instead of -11 when comparing
wxDateTime values. It shouldn't matter which value is returned as long as it's
negative but it is definitely tidier.
Closes #11381.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62517
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (dt1.IsEarlierThan(dt2))
return 1;
if (dt2.IsEarlierThan(dt1))
if (dt1.IsEarlierThan(dt2))
return 1;
if (dt2.IsEarlierThan(dt1))
}
// items must be different
}
// items must be different