From: Vadim Zeitlin Date: Fri, 1 Jan 1999 22:49:27 +0000 (+0000) Subject: wxString(const wxString& str, size_t position, size_t len) ctor now doesn't X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/07c5641a9353fe18f680ef1a432d53743ad6065d wxString(const wxString& str, size_t position, size_t len) ctor now doesn't have default value for the third param to avoid conflicts with wxString(const wxString& str, size_t len) ctor. Sorry if this breaks code which relied on it... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/string.h b/include/wx/string.h index 0e8abe5d27..c54084e268 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -601,7 +601,7 @@ public: /** @name constructors */ //@{ /// take nLen chars starting at nPos - wxString(const wxString& str, size_t nPos, size_t nLen = npos) + wxString(const wxString& str, size_t nPos, size_t nLen) { wxASSERT( str.GetStringData()->IsValid() ); InitWith(str.c_str(), nPos, nLen == npos ? 0 : nLen);