From: Václav Slavík <vslavik@fastmail.fm> Date: Fri, 16 Jul 2004 19:35:06 +0000 (+0000) Subject: made SelectionToText and ToText public X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5d3f80bec3ff937a8575f32d797bef031653baae made SelectionToText and ToText public git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/html/htmlwin.h b/include/wx/html/htmlwin.h index 2560670927..3f66ca3515 100644 --- a/include/wx/html/htmlwin.h +++ b/include/wx/html/htmlwin.h @@ -196,6 +196,12 @@ public: void SelectWord(const wxPoint& pos); void SelectLine(const wxPoint& pos); void SelectAll(); + + // Convert selection to text: + wxString SelectionToText() { return DoSelectionToText(m_selection); } + + // Converts current page to text: + wxString ToText(); #endif virtual void ApplyParentThemeBackground(const wxColour& WXUNUSED(bg)) @@ -252,12 +258,6 @@ protected: bool CopySelection(ClipboardType t = Secondary); #if wxUSE_CLIPBOARD - // Convert selection to text: - wxString SelectionToText() { return DoSelectionToText(m_selection); } - - // Converts current page to text: - wxString ToText(); - // Automatic scrolling during selection: void StopAutoScrolling(); #endif // wxUSE_CLIPBOARD