From 6d95e7bef04f887bfdd2593e863042715edc8eff Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 26 May 2008 11:17:08 +0000 Subject: [PATCH] Ticket #9493: interface-string-asterisk.patch git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/string.h b/interface/string.h index 9097d129a3..97dfe25336 100644 --- a/interface/string.h +++ b/interface/string.h @@ -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 -- 2.50.0