.\" This is a wxWidgets manpage page generated from the XML docs .TH wxCheckListBox 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxCheckListBox \- A listbox with a checkbox to the left of each item .SH DESCRIPTION A checklistbox is like a listbox, but allows items to be checked or unchecked. When using this class under Windows wxWidgets must be compiled with USE_OWNER_DRAWN set to 1. Only the new functions for this class are documented; see also wxListBox . Please note that wxCheckListBox uses client data in its implementation, and therefore this is not available to the application. .SH "PARENTS" wxListBox wxControl wxWindow wxEvtHandler wxObject .SH "INCLUDE FILES" wx/checklst.h .SH MEMBERS .SS wxCheckListBox () Default constructor. .SS wxCheckListBox (wxWindow* parentwxWindowID idconst wxPoint& pos = wxDefaultPositionconst wxSize& size = wxDefaultSizeint nconst wxString choices[] = NULLlong style = 0const wxValidator& validator = wxDefaultValidatorconst wxString& name = ``listBox") .SS wxCheckListBox (wxWindow* parentwxWindowID idconst wxPoint& posconst wxSize& sizeconst wxArrayString& choiceslong style = 0const wxValidator& validator = wxDefaultValidatorconst wxString& name = ``listBox") Constructor, creating and showing a list box. .SS void ~wxCheckListBox () Destructor, destroying the list box. .SS void Check (int itembool check = true) Checks the given item. Note that calling this method doesn't result in wxEVT_COMMAND_CHECKLISTBOX_TOGGLE being emitted. .SS bool IsChecked (int item) Returns true if the given item is checked, false otherwise. .SH "WINDOW STYLES" .SH EVENTS .SS EVT_CHECKLISTBOX(id, func) Process a wxEVT_COMMAND_CHECKLISTBOX_TOGGLED event, when an item in the check list box is checked or unchecked. .SH "SEE ALSO" wxListBox wxControl wxWindow wxEvtHandler wxObject wxListBox wxChoice wxComboBox wxListCtrl , wxCommandEvent .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.