X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4626c57c58bfb151d6e1d5177c180c18e91c6613..5deedd6e79a29e5dcdcf6d94bda94b8d1c61c676:/include/wx/tokenzr.h?ds=inline diff --git a/include/wx/tokenzr.h b/include/wx/tokenzr.h index a26d62b186..d47d52c324 100644 --- a/include/wx/tokenzr.h +++ b/include/wx/tokenzr.h @@ -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