wxString::substr() bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -859,7 +859,8 @@ public:
|
||||
const wxChar* sz, size_t nCount = npos) const;
|
||||
|
||||
// substring extraction
|
||||
wxString substr(size_t nStart = 0, size_t nLen = npos) const;
|
||||
wxString substr(size_t nStart = 0, size_t nLen = npos) const
|
||||
{ return Mid(nStart, nLen); }
|
||||
#endif // wxSTD_STRING_COMPATIBILITY
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user