From b7d403419edcd0b1e81c6d1a69ed913a1f1de0c2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 28 Mar 2007 18:25:25 +0000 Subject: [PATCH] added wxString::operator[](int) as it's commonly used in code working with file/stream read functions which have int return value git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/string.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/wx/string.h b/include/wx/string.h index f462273ecd..f1be0afe89 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -1839,6 +1839,7 @@ public: wxString& operator+=(wxUniChar ch) { m_impl += EncodeChar(ch); return *this; } wxString& operator+=(wxUniCharRef ch) { return *this += wxUniChar(ch); } + wxString& operator+=(int ch) { return *this += wxUniChar(ch); } wxString& operator+=(char ch) { return *this += wxUniChar(ch); } wxString& operator+=(unsigned char ch) { return *this += wxUniChar(ch); } wxString& operator+=(wchar_t ch) { return *this += wxUniChar(ch); }