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:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user