- wxPanel *panel = new wxScrolledWindow(this, -1, wxPoint(0, 0),
- wxSize(400, 200), wxTAB_TRAVERSAL);
+ m_panel = new wxPanel(this, wxID_ANY, wxPoint(0, 0),
+ wxSize(400, 200), wxTAB_TRAVERSAL);
+
+ CreateCheckListbox();
+
+ // create buttons for moving the items around
+ wxButton *button1 = new wxButton(m_panel, Btn_Up, _T(" &Up "), wxPoint(420, 90));
+ wxButton *button2 = new wxButton(m_panel, Btn_Down, _T("&Down"), wxPoint(420, 120));
+
+
+ wxBoxSizer *mainsizer = new wxBoxSizer( wxVERTICAL );
+
+ mainsizer->Add( m_pListBox, 1, wxGROW|wxALL, 10 );
+
+ wxBoxSizer *bottomsizer = new wxBoxSizer( wxHORIZONTAL );