fixed bug in GetString() introduced during the latest round of changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-01-06 21:41:54 +00:00
parent 06ef151178
commit b7d4a1b0aa

View File

@ -72,7 +72,7 @@ public:
// get current tokenizer state
// returns the part of the string which remains to tokenize (*not* the
// initial string)
wxString GetString() const { return m_string; }
wxString GetString() const { return m_string.substr(m_pos); }
// returns the current position (i.e. one index after the last
// returned token or 0 if GetNextToken() has never been called) in the