]> git.saurik.com Git - wxWidgets.git/commitdiff
made SelectionToText and ToText public
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 16 Jul 2004 19:35:06 +0000 (19:35 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 16 Jul 2004 19:35:06 +0000 (19:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/html/htmlwin.h

index 2560670927ff74fdc79e70f562bf303790912121..3f66ca35151ecdd6fa8f2f76f6d083ad88b46a49 100644 (file)
@@ -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