From: Vadim Zeitlin Date: Thu, 27 Sep 2012 22:40:46 +0000 (+0000) Subject: Remove the now unnecessary wxRichTextCtrl::SelectAll(). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/732281950a766e94828787ff571f73fecb83949e Remove the now unnecessary wxRichTextCtrl::SelectAll(). It is already inherited from the base wxTextEntry class. See #14701. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index 9cc8364f6d..efd4959840 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -1007,12 +1007,6 @@ public: void SetSelection(const wxRichTextSelection& sel) { m_selection = sel; } //@} - - /** - Selects all the text in the buffer. - */ - virtual void SelectAll(); - /** Makes the control editable, or not. */ diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index 1b0a084f86..9b40064ee8 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -2709,11 +2709,6 @@ wxRichTextRange wxRichTextCtrl::AddImage(const wxImage& image) // selection and ranges // ---------------------------------------------------------------------------- -void wxRichTextCtrl::SelectAll() -{ - SetSelection(-1, -1); -} - /// Select none void wxRichTextCtrl::SelectNone() {