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:
parent
60e05667cb
commit
6dae83beef
@ -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; }
|
||||
|
||||
//@}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user