#include "wx/string.h"
#include "wx/filesys.h"
#include "wx/dynarray.h"
+#include "wx/font.h"
//--------------------------------------------------------------------------------
// helper classes & structs
{
public:
wxSearchEngine() : wxObject() {m_Keyword = NULL; }
- ~wxSearchEngine() {if (m_Keyword) free(m_Keyword); }
+ ~wxSearchEngine() {if (m_Keyword) delete[] m_Keyword; }
virtual void LookFor(const wxString& keyword, bool case_sensitive, bool whole_words_only);
// Sets the keyword we will be searching for
// See documentation for details on its format.
// Returns success.
bool AddBookParam(const wxFSFile& bookfile,
+ wxFontEncoding encoding,
const wxString& title, const wxString& contfile,
const wxString& indexfile = wxEmptyString,
const wxString& deftopic = wxEmptyString,