diff --git a/interface/wx/fs_mem.h b/interface/wx/fs_mem.h index a083bbc0c6..546ced5b2b 100644 --- a/interface/wx/fs_mem.h +++ b/interface/wx/fs_mem.h @@ -90,6 +90,9 @@ public: */ static void AddFile(const wxString& filename, wxImage& image, wxBitmapType type); static void AddFile(const wxString& filename, const wxBitmap& bitmap, wxBitmapType type); + static void AddFile(const wxString& filename, const wxString& textdata); + static void AddFile(const wxString& filename, const void *binarydata, size_t size); + //@} //@{ diff --git a/interface/wx/html/htmlcell.h b/interface/wx/html/htmlcell.h index 9abac27be7..085f4afd4c 100644 --- a/interface/wx/html/htmlcell.h +++ b/interface/wx/html/htmlcell.h @@ -435,6 +435,13 @@ public: Sets the cell's position within parent container. */ virtual void SetPos(int x, int y); + + /** + Converts the cell into text representation. If sel != NULL then + only part of the cell inside the selection is converted. + */ + virtual wxString ConvertToText(wxHtmlSelection* sel) const; + };