Removed conflicting virtual function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -664,9 +664,6 @@ public:
|
|||||||
virtual bool RecreateBuffer(const wxSize& size = wxDefaultSize);
|
virtual bool RecreateBuffer(const wxSize& size = wxDefaultSize);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/// Set the selection
|
|
||||||
virtual void DoSetSelection(long from, long to, bool scrollCaret = true);
|
|
||||||
|
|
||||||
/// Write text
|
/// Write text
|
||||||
virtual void DoWriteText(const wxString& value, int flags = 0);
|
virtual void DoWriteText(const wxString& value, int flags = 0);
|
||||||
|
|
||||||
|
@@ -2563,11 +2563,6 @@ void wxRichTextCtrl::SetSelection(long from, long to)
|
|||||||
to = GetLastPosition()+1;
|
to = GetLastPosition()+1;
|
||||||
}
|
}
|
||||||
|
|
||||||
DoSetSelection(from, to);
|
|
||||||
}
|
|
||||||
|
|
||||||
void wxRichTextCtrl::DoSetSelection(long from, long to, bool WXUNUSED(scrollCaret))
|
|
||||||
{
|
|
||||||
if (from == to)
|
if (from == to)
|
||||||
{
|
{
|
||||||
SelectNone();
|
SelectNone();
|
||||||
|
Reference in New Issue
Block a user