]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/txtstrm.cpp
fixed signature of wxTimerProc to be conformant to what Windows expects it to be
[wxWidgets.git] / src / common / txtstrm.cpp
index 404f31f59487225079a4444e63600310b5bda2a1..0290751e3c72b4880719510db6537e396771bffb 100644 (file)
@@ -425,14 +425,16 @@ wxTextOutputStream& wxTextOutputStream::operator<<(char c)
     return *this;
 }
 
-#if wxUSE_WCHAR_T && wxWCHAR_T_IS_REAL_TYPE
+#if wxUSE_UNICODE && wxWCHAR_T_IS_REAL_TYPE
 
 wxTextOutputStream& wxTextOutputStream::operator<<(wchar_t wc)
 {
     WriteString( wxString(&wc, m_conv, 1) );
+
+    return *this;
 }
 
-#endif // wxUSE_WCHAR_T
+#endif // wxUSE_UNICODE
 
 wxTextOutputStream& wxTextOutputStream::operator<<(wxInt16 c)
 {