X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7463f75f9c170c29b4965d27dccf535ac32cfde..ace1785b153d4873a7c7684047c144facd11a26d:/utils/configtool/src/utils.h diff --git a/utils/configtool/src/utils.h b/utils/configtool/src/utils.h index af00ed3273..587bc5b376 100644 --- a/utils/configtool/src/utils.h +++ b/utils/configtool/src/utils.h @@ -144,7 +144,7 @@ public: // enabled/disabled int GetStateCount() const { return m_maxStates; }; - void SetStateCount(int count) { m_maxStates; } + void SetStateCount(int count) { m_maxStates = count; } int GetIconId(int state, bool enabled = TRUE) const; void SetIconId(int state, bool enabled, int iconId); @@ -196,5 +196,10 @@ wxOutputStream& operator <<(wxOutputStream&, long l); // Convert characters to HTML equivalents wxString ctEscapeHTMLCharacters(const wxString& str); +// Match 'matchText' against 'matchAgainst', optionally constraining to +// whole-word only. +bool ctMatchString(const wxString& matchAgainst, const wxString& matchText, bool wholeWordOnly); + + #endif // _AP_UTILS_H_