X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf9a878b54212c021030ca96ac4add0d02e46dde..1e510b1e2d0270caf227c3fc0cf34ae2e7dd6794:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index 9a3c061224..a398b215e5 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -80,9 +80,9 @@ wxSTD ostream& operator<<(wxSTD ostream& os, const wxCStrData& str) { // FIXME-UTF8: always, not only if wxUSE_UNICODE #if wxUSE_UNICODE && !defined(__BORLANDC__) - return os << str.AsWChar(); + return os << (const wchar_t*)str.AsWCharBuf(); #else - return os << str.AsChar(); + return os << (const char*)str.AsCharBuf(); #endif }