From b7d4a1b0aa36d66c55e531f2530bad87d00de1c3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 6 Jan 2006 21:41:54 +0000 Subject: [PATCH] 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 --- include/wx/tokenzr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2