]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
changes to match listctrl.h changes (forgot to commit yesterday, sorry)
[wxWidgets.git] / src / msw / textctrl.cpp
index 7d13ae10f4685b16f995a449a4b0d62fa66401ae..a6686ae562e574d275571f45f44c8bf20b864db2 100644 (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;