wxCheckListBoxItem
generated from ../src/mod_gui/control/chklstbxchk.cppwxCheckListBoxItem is a helper class used by wxJS to provide the use of an array to check or uncheck an item of a wxCheckListBox. The following sample shows a wxCheckListBox with the first item checked.
dlg = new wxDialog(null, -1, "Test", new wxPoint(0, 0), new wxSize(200, 200));
items = new Array();
items[0] = "item 1";
items[1] = "item 2";
items[2] = "item 3";
choice = new wxCheckListBox(dlg, -1, wxDefaultPosition, new wxSize(150, 150), items);
choice.checked[0] = true;
dlg.showModal();
© 2002 - 2007 Franky Braem.