added operator>>(wchar_t)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -252,6 +252,17 @@ wxTextInputStream& wxTextInputStream::operator>>(char& c)
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if wxUSE_UNICODE && wxWCHAR_T_IS_REAL_TYPE
|
||||||
|
|
||||||
|
wxTextInputStream& wxTextInputStream::operator>>(wchar_t& wc)
|
||||||
|
{
|
||||||
|
wc = GetChar();
|
||||||
|
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // wxUSE_UNICODE
|
||||||
|
|
||||||
wxTextInputStream& wxTextInputStream::operator>>(wxInt16& i)
|
wxTextInputStream& wxTextInputStream::operator>>(wxInt16& i)
|
||||||
{
|
{
|
||||||
i = (wxInt16)Read16();
|
i = (wxInt16)Read16();
|
||||||
|
Reference in New Issue
Block a user