some small fixes to make it work a bit again under MSW:
1. bg bitmap reenabled 2. wxCaret positioning reenabled git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -206,7 +206,7 @@ MyFrame::AddSampleText(wxLayoutList *llist)
|
||||
llist->Insert("And here the source for the test program:");
|
||||
llist->LineBreak();
|
||||
llist->Insert("And here the source for the test program:");
|
||||
#if 0
|
||||
|
||||
char buffer[1024];
|
||||
FILE *in = fopen("wxLayout.cpp","r");
|
||||
if(in)
|
||||
@@ -219,7 +219,7 @@ MyFrame::AddSampleText(wxLayoutList *llist)
|
||||
wxLayoutImportText(llist, buffer);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
llist->MoveCursorTo(wxPoint(0,0));
|
||||
m_lwin->SetDirty();
|
||||
m_lwin->Refresh();
|
||||
@@ -331,6 +331,8 @@ void MyFrame::OnCommand( wxCommandEvent &event )
|
||||
"This is a text\n"
|
||||
"with embedded line\n"
|
||||
"breaks.\n");
|
||||
m_lwin->SetDirty();
|
||||
m_lwin->Refresh();
|
||||
break;
|
||||
|
||||
case ID_URL_TEST:
|
||||
|
Reference in New Issue
Block a user