- // Helper functions to select parts of page:
- void SelectWord(const wxPoint& pos);
- void SelectLine(const wxPoint& pos);
+ // Copies selection to clipboard if the clipboard support is available
+ //
+ // returns true if anything was copied to clipboard, false otherwise
+ bool CopySelection(ClipboardType t = Secondary);
+
+#if wxUSE_CLIPBOARD
+ // Convert selection to text:
+ wxString SelectionToText();