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
This commit is contained in:
parent
b412f9be50
commit
07c5641a93
@ -601,7 +601,7 @@ public:
|
|||||||
/** @name constructors */
|
/** @name constructors */
|
||||||
//@{
|
//@{
|
||||||
/// take nLen chars starting at nPos
|
/// 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() );
|
wxASSERT( str.GetStringData()->IsValid() );
|
||||||
InitWith(str.c_str(), nPos, nLen == npos ? 0 : nLen);
|
InitWith(str.c_str(), nPos, nLen == npos ? 0 : nLen);
|
||||||
|
Loading…
Reference in New Issue
Block a user