From 6dae83beef5595c92159f206b63f5762ff454c58 Mon Sep 17 00:00:00 2001 From: "Unknown (UG)" Date: Wed, 11 Nov 1998 08:42:10 +0000 Subject: [PATCH] const added to Contains git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/string.h b/include/wx/string.h index f90164c885..1db45300c4 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -686,7 +686,7 @@ public: size_t find(char ch, size_t nStart = 0) const; // wxWin compatibility - inline bool Contains(const wxString& str) { return Find(str) != -1; } + inline bool Contains(const wxString& str) const { return Find(str) != -1; } //@} -- 2.47.2