Make some member functions const

This commit is contained in:
Paul Cornett
2021-03-17 09:44:48 -07:00
parent 34473971bb
commit b5d4c6068e
13 changed files with 34 additions and 34 deletions

View File

@@ -138,10 +138,10 @@ public:
bool case_sensitive, bool whole_words_only,
const wxString& book = wxEmptyString);
bool Search(); // do the next iteration
bool IsActive() { return m_Active; }
int GetCurIndex() { return m_CurIndex; }
int GetMaxIndex() { return m_MaxIndex; }
const wxString& GetName() { return m_Name; }
bool IsActive() const { return m_Active; }
int GetCurIndex() const { return m_CurIndex; }
int GetMaxIndex() const { return m_MaxIndex; }
const wxString& GetName() const { return m_Name; }
const wxHtmlHelpDataItem *GetCurItem() const { return m_CurItem; }