// 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);
// 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_