diff --git a/wxPython/src/html.i b/wxPython/src/html.i
index 828805da14..6bde2f4c97 100644
--- a/wxPython/src/html.i
+++ b/wxPython/src/html.i
@@ -901,6 +901,11 @@ public:
void SelectLine(const wxPoint& pos);
void SelectAll();
+ // Convert selection to text:
+ wxString SelectionToText();
+
+ // Converts current page to text:
+ wxString ToText();
void base_OnLinkClicked(const wxHtmlLinkInfo& link);
void base_OnSetTitle(const wxString& title);