X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/509201463dbd3bce8aff762c664b111a8f2c3412..8ce63e9d6604178f8c13e6a0e9bb33c3800a0c28:/src/common/date.cpp diff --git a/src/common/date.cpp b/src/common/date.cpp index c8cd9dda8b..04d7fdbcb9 100644 --- a/src/common/date.cpp +++ b/src/common/date.cpp @@ -282,7 +282,7 @@ bool WXDLLEXPORT operator != (const wxDate &dt1, const wxDate &dt2) ostream WXDLLEXPORT & operator << (ostream &os, const wxDate &dt) { - return os << (const wxChar *) dt.FormatDate(); + return os << dt.FormatDate().mb_str(); } //////////////////////////////////////////////////////////////