added wxTextInputStream::ReadChar() (part of patch 792932)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-09-26 20:15:38 +00:00
parent 0915d0b2e2
commit bcda793a4e
3 changed files with 9 additions and 1 deletions

View File

@@ -63,7 +63,8 @@ All:
- wxHTTP::GetResponse() added (David Nock)
- added conversions to/from UTF 16/32 LE/BE (Andreas Pflug)
- wxFileName::Normalize(wxPATH_NORM_ALL) doesn't lower filename case any more
- seeveral wxZlibStreams bug fixes enhancements (M.J.Wetherell)
- added wxTextInputStream::ReadChar() (M.J.Wetherell)
- several wxZlibStreams bug fixes enhancements (M.J.Wetherell)
All (GUI):

View File

@@ -123,6 +123,12 @@ Reads a 32 bit signed integer from the stream.
See \helpref{wxTextInputStream::Read8}{wxtextinputstreamread8} for the
description of the {\it base} parameter.
\membersection{wxTextInputStream::ReadChar}\label{wxtextinputstreamreadchar}
\func{wxChar}{wxTextInputStream::ReadChar}{\void}
Reads a character, returns $0$ if there are no more characters in the stream.
\membersection{wxTextInputStream::ReadDouble}
\func{double}{ReadDouble}{\void}

View File

@@ -56,6 +56,7 @@ public:
wxString ReadString(); // deprecated: use ReadLine or ReadWord instead
wxString ReadLine();
wxString ReadWord();
wxChar GetChar() { wxChar c = NextChar(); return c != wxEOT ? c : 0; }
wxString GetStringSeparators() const { return m_separators; }
void SetStringSeparators(const wxString &c) { m_separators = c; }