GetSelection --> GetStringSelection

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-11-14 03:50:11 +00:00
parent 973983be62
commit eef97940e8
5 changed files with 12 additions and 12 deletions

View File

@@ -648,7 +648,7 @@ void wxTextCtrl::GetSelection(long* from, long* to) const
}
}
wxString wxTextCtrl::GetSelection() const
wxString wxTextCtrl::GetStringSelection() const
{
// the base class version works correctly for the rich text controls
// because there the lines are terminated with just '\r' which means that
@@ -657,7 +657,7 @@ wxString wxTextCtrl::GetSelection() const
// we break the indices
#if wxUSE_RICHEDIT
if ( m_isRich )
return wxTextCtrlBase::GetSelection();
return wxTextCtrlBase::GetStringSelection();
#endif // wxUSE_RICHEDIT
long from, to;