From: Vadim Zeitlin Date: Wed, 20 Oct 2004 22:50:03 +0000 (+0000) Subject: added wxTextInputStream::operator>>(wchar_t) for compilers which support this X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fdd99f154a0a2b194d0631d0d54a6336a8898d1b?ds=sidebyside added wxTextInputStream::operator>>(wchar_t) for compilers which support this git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/changes.txt b/docs/changes.txt index 86c8f32d54..f134a15a01 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -206,6 +206,7 @@ All: - Norwegian (Bokmål) translation added (Hans F. Nordhaug) - wxDynamicLibrary::HasSymbol() added +- added wxTextInputStream::operator>>(wchar_t) for compilers which support this All (GUI): diff --git a/include/wx/txtstrm.h b/include/wx/txtstrm.h index 12381fa37c..014136cb74 100644 --- a/include/wx/txtstrm.h +++ b/include/wx/txtstrm.h @@ -64,6 +64,9 @@ public: // Operators wxTextInputStream& operator>>(wxString& word); wxTextInputStream& operator>>(char& c); +#if wxUSE_UNICODE && wxWCHAR_T_IS_REAL_TYPE + wxTextInputStream& operator>>(wchar_t& wc); +#endif // wxUSE_UNICODE wxTextInputStream& operator>>(wxInt16& i); wxTextInputStream& operator>>(wxInt32& i); wxTextInputStream& operator>>(wxUint16& i);