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:
Václav Slavík
2007-05-09 21:07:08 +00:00
parent ff0846a09f
commit c5e7a7d769
3 changed files with 10 additions and 25 deletions

View File

@@ -1110,7 +1110,7 @@ Minimizes the string's memory. This can be useful after a call to
\membersection{wxString::StartsWith}\label{wxstringstartswith}
\constfunc{bool}{StartsWith}{\param{const wxChar }{*prefix}, \param{wxString }{*rest = NULL}}
\constfunc{bool}{StartsWith}{\param{const wxString\& }{prefix}, \param{wxString }{*rest = NULL}}
This function can be used to test if the string starts with the specified
{\it prefix}. If it does, the function will return \true and put the rest
@@ -1121,7 +1121,7 @@ of the string (i.e. after the prefix) into {\it rest} string if it is not
\membersection{wxString::EndsWith}\label{wxstringendswith}
\constfunc{bool}{EndsWith}{\param{const wxChar }{*suffix}, \param{wxString }{*rest = NULL}}
\constfunc{bool}{EndsWith}{\param{const wxString\& }{suffix}, \param{wxString }{*rest = NULL}}
This function can be used to test if the string ends with the specified
{\it suffix}. If it does, the function will return \true and put the