extended RemoveLast() to take size_t parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3794e8d6b0
commit
83a136ac4a
@ -727,7 +727,7 @@ public:
|
||||
size_t Index(wxChar ch) const { return Find(ch); }
|
||||
// use Truncate
|
||||
wxString& Remove(size_t pos) { return Truncate(pos); }
|
||||
wxString& RemoveLast() { return Truncate(Len() - 1); }
|
||||
wxString& RemoveLast(size_t n = 1) { return Truncate(Len() - n); }
|
||||
|
||||
wxString& Remove(size_t nStart, size_t nLen) { return erase( nStart, nLen ); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user