made SelectionToText and ToText public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b55bab1527
commit
5d3f80bec3
@ -196,6 +196,12 @@ public:
|
|||||||
void SelectWord(const wxPoint& pos);
|
void SelectWord(const wxPoint& pos);
|
||||||
void SelectLine(const wxPoint& pos);
|
void SelectLine(const wxPoint& pos);
|
||||||
void SelectAll();
|
void SelectAll();
|
||||||
|
|
||||||
|
// Convert selection to text:
|
||||||
|
wxString SelectionToText() { return DoSelectionToText(m_selection); }
|
||||||
|
|
||||||
|
// Converts current page to text:
|
||||||
|
wxString ToText();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
virtual void ApplyParentThemeBackground(const wxColour& WXUNUSED(bg))
|
virtual void ApplyParentThemeBackground(const wxColour& WXUNUSED(bg))
|
||||||
@ -252,12 +258,6 @@ protected:
|
|||||||
bool CopySelection(ClipboardType t = Secondary);
|
bool CopySelection(ClipboardType t = Secondary);
|
||||||
|
|
||||||
#if wxUSE_CLIPBOARD
|
#if wxUSE_CLIPBOARD
|
||||||
// Convert selection to text:
|
|
||||||
wxString SelectionToText() { return DoSelectionToText(m_selection); }
|
|
||||||
|
|
||||||
// Converts current page to text:
|
|
||||||
wxString ToText();
|
|
||||||
|
|
||||||
// Automatic scrolling during selection:
|
// Automatic scrolling during selection:
|
||||||
void StopAutoScrolling();
|
void StopAutoScrolling();
|
||||||
#endif // wxUSE_CLIPBOARD
|
#endif // wxUSE_CLIPBOARD
|
||||||
|
Loading…
Reference in New Issue
Block a user