changed wxString::StartsWidth/EndsWidth to take wxString argument instead of wxChar*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1464,11 +1464,11 @@ public:
|
||||
// check if the string starts with the given prefix and return the rest
|
||||
// of the string in the provided pointer if it is not NULL; otherwise
|
||||
// return false
|
||||
bool StartsWith(const wxChar *prefix, wxString *rest = NULL) const;
|
||||
bool StartsWith(const wxString& prefix, wxString *rest = NULL) const;
|
||||
// check if the string ends with the given suffix and return the
|
||||
// beginning of the string before the suffix in the provided pointer if
|
||||
// it is not NULL; otherwise return false
|
||||
bool EndsWith(const wxChar *suffix, wxString *rest = NULL) const;
|
||||
bool EndsWith(const wxString& suffix, wxString *rest = NULL) const;
|
||||
|
||||
// get first nCount characters
|
||||
wxString Left(size_t nCount) const;
|
||||
|
Reference in New Issue
Block a user