]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed conflicting virtual function
authorJulian Smart <julian@anthemion.co.uk>
Fri, 6 Mar 2009 08:19:31 +0000 (08:19 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 6 Mar 2009 08:19:31 +0000 (08:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextctrl.h
src/richtext/richtextctrl.cpp

index 203b732e34f13fc8383c10ac3ac502fb8930d625..7be78d5ac78eb73b2374da53978e0fb6c91fc29d 100644 (file)
@@ -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);
 
index f3b1d697f33f2be7262d90d714641b38da91697a..fdba81189aba83f385c8b98fccca09493b538bbd 100644 (file)
@@ -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();