- bool Matches(const wxChar *text, int flags = 0) const;
- bool Matches(const wxChar *text, int flags, size_t len) const;
- bool Matches(const wxString& text, int flags = 0) const
- { return Matches(text.c_str(), flags, text.length()); }
+ bool Matches(const wxString& text, int flags = 0) const;
+ bool Matches(const wxChar *text, int flags, size_t len) const
+ { return Matches(wxString(text, len), flags); }