From: George Tasker Date: Thu, 4 Oct 2001 17:05:38 +0000 (+0000) Subject: Spelling typos in comments fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c0881dc32e63ad85a4c28c17d8b76e66aa69cac2?ds=inline Spelling typos in comments fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/string.h b/include/wx/string.h index 5907c0600d..c7c6893e30 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -629,7 +629,7 @@ public: wxString operator()(size_t start, size_t len) const { return Mid(start, len); } - // check that the tring starts with prefix and return the rest of the + // check that the string starts with prefix and return the rest of the // string in the provided pointer if it is not NULL, otherwise return // FALSE bool StartsWith(const wxChar *prefix, wxString *rest = NULL) const; @@ -638,7 +638,7 @@ public: wxString Left(size_t nCount) const; // get last nCount characters wxString Right(size_t nCount) const; - // get all characters before the first occurence of ch + // get all characters before the first occurance of ch // (returns the whole string if ch not found) wxString BeforeFirst(wxChar ch) const; // get all characters before the last occurence of ch