X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4005cc780c59b38290754ff3fb5199e792e4f094..8dbf458911c24bae120bed07d5627a65f362b8d1:/samples/richedit/wxLayout.cpp diff --git a/samples/richedit/wxLayout.cpp b/samples/richedit/wxLayout.cpp index c23c45580b..86532e650e 100644 --- a/samples/richedit/wxLayout.cpp +++ b/samples/richedit/wxLayout.cpp @@ -238,9 +238,9 @@ MyFrame::AddSampleText(wxLayoutList *llist) void MyFrame::Clear(void) { - wxColour colBg(0, 255, 255); + wxColour colBg(0, 0, 0); - 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);