]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/helpdata.h
applied patch 417699 (remove WXDLLEXPORT from inline functions)
[wxWidgets.git] / include / wx / html / helpdata.h
index 906d12b13b53e20d686035386dd21e575313a77e..2f6b2b534e3913ec766ddaba2574b937d28646db 100644 (file)
@@ -54,6 +54,10 @@ class WXDLLEXPORT wxHtmlBookRecord : public wxObject
         int GetContentsStart() const { return m_ContentsStart; }
         int GetContentsEnd() const { return m_ContentsEnd; }
 
+        void SetTitle(const wxString& title) { m_Title = title; }
+        void SetBasePath(const wxString& path) { m_BasePath = path; }
+        void SetStart(const wxString& start) { m_Start = start; }
+
     protected:
         wxString m_BasePath;
         wxString m_Title;
@@ -85,7 +89,7 @@ class WXDLLEXPORT wxSearchEngine : public wxObject
 {
     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