const added to Contains

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Unknown (UG) 1998-11-11 08:42:10 +00:00
parent 60e05667cb
commit 6dae83beef

View File

@ -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; }
//@}