X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d33ed2c6bc3065bf9dc77742da6c924b9e00fa5..2fa7c206f68655f226e37ce1f1cc7e646e6c0bf2:/include/wx/string.h?ds=inline diff --git a/include/wx/string.h b/include/wx/string.h index bbe4d0cce7..1b0c138ea9 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -520,6 +520,8 @@ public: // append count copies of given character wxString& Append(wxChar ch, size_t count = 1u) { wxString str(ch, count); return *this << str; } + wxString& Append(const wxChar* psz, size_t nLen) + { ConcatSelf(nLen, psz); return *this; } // prepend a string, return the string itself wxString& Prepend(const wxString& str) @@ -668,6 +670,7 @@ public: wxChar *GetWriteBuf(size_t nLen); // call this immediately after GetWriteBuf() has been used void UngetWriteBuf(); + void UngetWriteBuf(size_t nLen); // wxWindows version 1 compatibility functions