X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d33ed2c6bc3065bf9dc77742da6c924b9e00fa5..794bcc2dea743ac907b839f54e451847c9ea4b72:/include/wx/string.h 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