X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/999836aacade840a5d9a0cbb5fad7b1d4de62c93..1a83b9bd10b7d92520c202e6ed6cff2015f13315:/src/common/txtstrm.cpp diff --git a/src/common/txtstrm.cpp b/src/common/txtstrm.cpp index 27b0b6c6ed..0290751e3c 100644 --- a/src/common/txtstrm.cpp +++ b/src/common/txtstrm.cpp @@ -425,6 +425,17 @@ wxTextOutputStream& wxTextOutputStream::operator<<(char c) return *this; } +#if wxUSE_UNICODE && wxWCHAR_T_IS_REAL_TYPE + +wxTextOutputStream& wxTextOutputStream::operator<<(wchar_t wc) +{ + WriteString( wxString(&wc, m_conv, 1) ); + + return *this; +} + +#endif // wxUSE_UNICODE + wxTextOutputStream& wxTextOutputStream::operator<<(wxInt16 c) { wxString str;