}
}
-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
// we break the indices
#if wxUSE_RICHEDIT
if ( m_isRich )
- return wxTextCtrlBase::GetSelection();
+ return wxTextCtrlBase::GetStringSelection();
#endif // wxUSE_RICHEDIT
long from, to;