#pragma implementation "wxLayout.h"
#endif
-#include "wx/wxprec.h"
+#include <wx/wxprec.h>
#ifdef __BORLANDC__
# pragma hdrstop
#endif
#include "wxLayout.h"
-#include "wx/textfile.h"
+#include <wx/textfile.h>
#include "Micon.xpm"
m_lwin->SetFocus();
Clear();
+#if 0
// create and set the background bitmap (this will result in a lattice)
static const int sizeBmp = 10;
wxBitmap *bitmap = new wxBitmap(sizeBmp, sizeBmp);
dcMem.SelectObject( wxNullBitmap );
m_lwin->SetBackgroundBitmap(bitmap);
+#endif // 0
};
void
void
MyFrame::Clear(void)
{
- m_lwin->Clear(wxROMAN,16,wxNORMAL,wxNORMAL, false);
+ wxColour colBg(0, 0, 0);
+
+ m_lwin->Clear(wxROMAN,16,wxNORMAL,wxNORMAL, false, wxRED, &colBg);
}
{
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);