- const wxHtmlBookRecArray& GetBookRecArray() { return m_BookRecords; }
- wxHtmlContentsItem* GetContents() { return m_Contents; }
- int GetContentsCnt() { return m_ContentsCnt; }
- wxHtmlContentsItem* GetIndex() { return m_Index; }
- int GetIndexCnt() { return m_IndexCnt; }
+ const wxHtmlBookRecArray& GetBookRecArray() const { return m_bookRecords; }
+
+ const wxHtmlHelpDataItems& GetContentsArray() const { return m_contents; }
+ const wxHtmlHelpDataItems& GetIndexArray() const { return m_index; }
+
+#if WXWIN_COMPATIBILITY_2_4
+ // deprecated interface, new interface is arrays-based (see above)
+ wxDEPRECATED( wxHtmlContentsItem* GetContents() );
+ wxDEPRECATED( int GetContentsCnt() );
+ wxDEPRECATED( wxHtmlContentsItem* GetIndex() );
+ wxDEPRECATED( int GetIndexCnt() );
+#endif