+wxString wxTextInputStream::ReadWord()
+{
+ if (!m_input) return "";
+
+ wxString word;
+ wxChar c=NextNonSeparators();
+ if (c==(wxChar)0) return "";
+
+ for (;;)
+ {
+ if (m_separators.Contains(c)) break;
+
+ if (EatEOL(c)) break;
+
+ word += c;
+
+ if (!m_input) break;
+ c = m_input.GetC();
+ }
+
+ return word;
+}
+
+wxTextInputStream& wxTextInputStream::operator>>(wxString& word)