X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4005cc780c59b38290754ff3fb5199e792e4f094..a2c5528a9e3b7ea0f5a40dfa21f60606e7e8b543:/samples/richedit/wxLayout.cpp diff --git a/samples/richedit/wxLayout.cpp b/samples/richedit/wxLayout.cpp index c23c45580b..017193f635 100644 --- a/samples/richedit/wxLayout.cpp +++ b/samples/richedit/wxLayout.cpp @@ -240,7 +240,7 @@ MyFrame::Clear(void) { wxColour colBg(0, 255, 255); - m_lwin->Clear(wxROMAN,16,wxNORMAL,wxNORMAL, false, wxGREEN, &colBg); + m_lwin->Clear(wxROMAN,16,wxNORMAL,wxNORMAL, false, wxRED, &colBg); } @@ -332,7 +332,7 @@ void MyFrame::OnCommand( wxCommandEvent &event ) { wxString line; wxLayoutList *llist = m_lwin->GetLayoutList(); - for(int i = 1; i < 5000; i++) + for(int i = 1; i < 300; i++) { line.Printf("This is line number %d.", i); llist->Insert(line);