]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/txtstrm.cpp
fixed rounding errors in variable status bar panes widths computation (patch 1030021)
[wxWidgets.git] / src / common / txtstrm.cpp
index 27b0b6c6edd50ef673de1c4b12029fb200ca4d79..0290751e3c72b4880719510db6537e396771bffb 100644 (file)
@@ -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;