From: Julian Smart Date: Fri, 6 Mar 2009 08:19:31 +0000 (+0000) Subject: Removed conflicting virtual function X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d35146fa5de74e06beb2b1481fed123f6e8b7edd Removed conflicting virtual function git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index 203b732e34..7be78d5ac7 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -664,9 +664,6 @@ public: virtual bool RecreateBuffer(const wxSize& size = wxDefaultSize); #endif - /// Set the selection - virtual void DoSetSelection(long from, long to, bool scrollCaret = true); - /// Write text virtual void DoWriteText(const wxString& value, int flags = 0); diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index f3b1d697f3..fdba81189a 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -2563,11 +2563,6 @@ void wxRichTextCtrl::SetSelection(long from, long to) to = GetLastPosition()+1; } - DoSetSelection(from, to); -} - -void wxRichTextCtrl::DoSetSelection(long from, long to, bool WXUNUSED(scrollCaret)) -{ if (from == to) { SelectNone();