Ticket #9493: interface-string-asterisk.patch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-05-26 11:17:08 +00:00
parent 962fb6d22e
commit 6d95e7bef0

View File

@@ -546,7 +546,7 @@ public:
@NULL. Otherwise, the function returns @false and doesn't
modify the @e rest.
*/
bool EndsWith(const wxString& suffix, wxString rest = NULL) const;
bool EndsWith(const wxString& suffix, wxString *rest = NULL) const;
/**
Searches for the given character @e ch. Returns the position or
@@ -846,7 +846,7 @@ public:
@NULL. Otherwise, the function returns @false and doesn't modify the
@e rest.
*/
bool StartsWith(const wxString& prefix, wxString rest = NULL) const;
bool StartsWith(const wxString& prefix, wxString *rest = NULL) const;
/**
Strip characters at the front and/or end. The same as Trim except that it