several fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1998-08-06 19:23:19 +00:00
parent 09cf7c5853
commit c6cdf16c93
5 changed files with 60 additions and 25 deletions

View File

@@ -76,6 +76,8 @@ IMPLEMENT_DYNAMIC_CLASS( MyFrame, wxFrame )
void
MyFrame::AddSampleText(wxLayoutList &llist)
{
llist.Insert("--");
llist.LineBreak();
llist.Insert("The quick brown fox jumps over the lazy dog.");
llist.LineBreak();
@@ -146,9 +148,11 @@ MyFrame::AddSampleText(wxLayoutList &llist)
llist.LineBreak();
}
}
m_lwin->Refresh();
m_lwin->UpdateScrollbars();
llist.SetEditable();
llist.SetCursor(wxPoint(0,0));
}
void
@@ -169,7 +173,7 @@ void MyFrame::Edit(void)
llist.MoveCursor(0,2);
llist.Delete(2);
llist.MoveCursor(2);
llist.Insert("not all so ");
llist.Insert("not");
llist.LineBreak();
m_lwin->Refresh();
}