* Changed behaviour of wxTextStreams::operator(wxUint8/wxInt8). Now it writes

characters instead of numbers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux 1999-07-12 17:17:43 +00:00
parent bb69661b05
commit b1830dfaba

View File

@ -189,9 +189,9 @@ wxTextInputStream& wxTextInputStream::operator>>(wxString& line)
return *this;
}
wxTextInputStream& wxTextInputStream::operator>>(wxInt8& c)
wxTextInputStream& wxTextInputStream::operator>>(char& c)
{
c = (wxInt8)Read8();
m_input->Read(&c, 1);
return *this;
}
@ -207,12 +207,6 @@ wxTextInputStream& wxTextInputStream::operator>>(wxInt32& i)
return *this;
}
wxTextInputStream& wxTextInputStream::operator>>(wxUint8& c)
{
c = Read8();
return *this;
}
wxTextInputStream& wxTextInputStream::operator>>(wxUint16& i)
{
i = Read16();
@ -300,9 +294,9 @@ wxTextOutputStream& wxTextOutputStream::operator<<(const wxString& string)
return *this;
}
wxTextOutputStream& wxTextOutputStream::operator<<(wxInt8 c)
wxTextOutputStream& wxTextOutputStream::operator<<(char c)
{
Write8((wxUint8)c);
m_output->Write(&c, 1);
return *this;
}
@ -318,12 +312,6 @@ wxTextOutputStream& wxTextOutputStream::operator<<(wxInt32 c)
return *this;
}
wxTextOutputStream& wxTextOutputStream::operator<<(wxUint8 c)
{
Write8(c);
return *this;
}
wxTextOutputStream& wxTextOutputStream::operator<<(wxUint16 c)
{
Write16(c);