From: Unknown (UG) Date: Wed, 11 Nov 1998 08:42:10 +0000 (+0000) Subject: const added to Contains X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6dae83beef5595c92159f206b63f5762ff454c58 const added to Contains git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; } //@}