Display wxSize less confusingly if any tests fail

Using "x" as separator between the components created confusion with
hexadecimal notation, resulting in confusing messages like "0x17==0x0"
that seemed to describe comparison of 2 numbers and not 2 wxSize
objects.

Using "*" is also more consistent with wxRect output format.
This commit is contained in:
Vadim Zeitlin 2020-07-15 01:58:07 +02:00
parent 844ec191f0
commit a52a27ad90

View File

@ -49,7 +49,7 @@ std::ostream& operator<<(std::ostream& os, const wxColour& c)
std::ostream& operator<<(std::ostream& os, const wxSize& s)
{
os << s.x << "x" << s.y;
os << s.x << "*" << s.y;
return os;
}