Added missing methods. Now tested.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2001-07-16 14:27:16 +00:00
parent c4c1fab955
commit f0d53ebfb2
2 changed files with 4 additions and 4 deletions

View File

@@ -624,10 +624,10 @@ wxString wxTextCtrl::GetLineText(long lineNo) const
for (int j = i; j < actualsize; j++)
{
tmp += wxBuffer[j];
if (wxBuffer[j] == '\r')
return tmp;
tmp += wxBuffer[j];
}
return tmp;

View File

@@ -624,10 +624,10 @@ wxString wxTextCtrl::GetLineText(long lineNo) const
for (int j = i; j < actualsize; j++)
{
tmp += wxBuffer[j];
if (wxBuffer[j] == '\r')
return tmp;
tmp += wxBuffer[j];
}
return tmp;