MyFrame::MyFrame(const wxChar *title)
: wxFrame(NULL, wxID_ANY, title)
{
- if (wxSystemSettings::GetScreenType() > wxSYS_SCREEN_SMALL)
- SetSize(wxSize(450, 340));
-
m_listCtrl = NULL;
m_logWindow = NULL;
m_smallVirtual = false;
+ if (wxSystemSettings::GetScreenType() > wxSYS_SCREEN_SMALL)
+ SetSize(wxSize(450, 340));
+
// Give it an icon
SetIcon( wxICON(mondrian) );
SetItemData(tmp, i);
buf.Printf(_T("Col 1, item %d"), i);
- SetItem(i, 1, buf);
+ SetItem(tmp, 1, buf);
buf.Printf(_T("Item %d in column 2"), i);
- SetItem(i, 2, buf);
+ SetItem(tmp, 2, buf);
}
#if USE_CONTEXT_MENU