a few more buglets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -116,14 +116,12 @@ MyFrame::MyFrame(void) :
|
||||
void
|
||||
MyFrame::AddSampleText(wxLayoutList *llist)
|
||||
{
|
||||
#if 0
|
||||
llist->Clear(wxSWISS,16,wxNORMAL,wxNORMAL, false);
|
||||
llist->SetFont(-1,-1,-1,-1,-1,"blue");
|
||||
llist->Insert("blue");
|
||||
llist->SetFont(-1,-1,-1,-1,-1,"black");
|
||||
llist->Insert("The quick brown fox jumps over the lazy dog.");
|
||||
llist->LineBreak();
|
||||
#endif
|
||||
|
||||
llist->SetFont(wxROMAN,16,wxNORMAL,wxNORMAL, false);
|
||||
llist->Insert("--");
|
||||
@@ -152,7 +150,6 @@ MyFrame::AddSampleText(wxLayoutList *llist)
|
||||
llist->SetFont(-1,-1,wxNORMAL);
|
||||
llist->LineBreak();
|
||||
|
||||
#if 0
|
||||
llist->Insert("and ");
|
||||
llist->SetFont(-1,-1,wxSLANT);
|
||||
llist->Insert("slanted");
|
||||
@@ -197,7 +194,6 @@ MyFrame::AddSampleText(wxLayoutList *llist)
|
||||
llist->LineBreak();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
llist->MoveCursorTo(wxPoint(0,0));
|
||||
m_lwin->SetDirty();
|
||||
m_lwin->Refresh();
|
||||
|
Reference in New Issue
Block a user