X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbdb39b2d0b8c3359eab1693fd1fc786499f62d7..053f9cc122c63048d9607a3d684e9dca28ae96ac:/include/wx/tokenzr.h?ds=sidebyside diff --git a/include/wx/tokenzr.h b/include/wx/tokenzr.h index c23d130185..8012854ac6 100644 --- a/include/wx/tokenzr.h +++ b/include/wx/tokenzr.h @@ -30,7 +30,10 @@ public: int CountTokens(); bool HasMoreToken(); + inline bool HasMoreTokens() { return HasMoreToken(); }; wxString NextToken(); + // A better name! + inline wxString GetNextToken() { return NextToken(); }; wxString GetString() { return m_string; } void SetString(const wxString& to_tokenize, @@ -44,6 +47,8 @@ public: protected: off_t FindDelims(const wxString& str, const wxString& delims); + void EatLeadingDelims(); // AVS - added to fix leading whitespace / + // mult. delims bugs protected: wxString m_string, m_delims; bool m_retdelims;