don't write wide string to std::ostream which outputs them as pointer values

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-01-16 22:15:18 +00:00
parent 5e6ce06a0d
commit 3781c92083

View File

@@ -27,7 +27,7 @@
// need this to be able to use CPPUNIT_ASSERT_EQUAL with wxDateTime objects
static std::ostream& operator<<(std::ostream& ostr, const wxDateTime& dt)
{
ostr << dt.FormatISODate() << _T(" ") << dt.FormatISOTime();
ostr << dt.FormatISODate() << " " << dt.FormatISOTime();
return ostr;
}