From 0e333f336bc329fa333c2694d0ca1faeec43808a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 10 Aug 2016 19:22:34 -0700 Subject: [PATCH] Add missing methods --- interface/wx/fs_mem.h | 3 +++ interface/wx/html/htmlcell.h | 7 +++++++ 2 files changed, 10 insertions(+) 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; + };