EVT_MENU(Menu_Selection, CheckListBoxFrame::OnToggleSelection)
EVT_MENU(Menu_Extended, CheckListBoxFrame::OnToggleExtended)
EVT_MENU(Menu_Sorting, CheckListBoxFrame::OnToggleSorting)
-
+
EVT_MENU(Menu_InsertItemsStart, CheckListBoxFrame::OnInsertItemsStart)
EVT_MENU(Menu_InsertItemsMiddle, CheckListBoxFrame::OnInsertItemsMiddle)
EVT_MENU(Menu_InsertItemsEnd, CheckListBoxFrame::OnInsertItemsEnd)
EVT_BUTTON(Btn_Down, CheckListBoxFrame::OnButtonDown)
END_EVENT_TABLE()
-IMPLEMENT_APP(CheckListBoxApp);
+IMPLEMENT_APP(CheckListBoxApp)
// init our app: create windows
bool CheckListBoxApp::OnInit(void)
flags
);
- //m_pListBox->SetBackgroundColour(*wxGREEN);
-
delete [] astrChoices;
// set grey background for every second entry
sizer->Insert(0, m_pListBox, 1, wxGROW | wxALL, 10);
- m_panel->Layout();
+ m_panel->Layout();
}
void CheckListBoxFrame::OnToggleSorting(wxCommandEvent& event)
sizer->Insert(0, m_pListBox, 1, wxGROW | wxALL, 10);
- m_panel->Layout();
+ m_panel->Layout();
}
void CheckListBoxFrame::OnListboxSelect(wxCommandEvent& event)