X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62a7da7532e246849c6f308f1ca90ffe42617e99..58fa61dbad0ea1158f6c6e96d611c26057e069ba:/interface/wx/checklst.h diff --git a/interface/wx/checklst.h b/interface/wx/checklst.h index 8287d5acdf..f1cc9e9a9a 100644 --- a/interface/wx/checklst.h +++ b/interface/wx/checklst.h @@ -15,20 +15,18 @@ When using this class under Windows wxWidgets must be compiled with wxUSE_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. - @beginEventTable{wxCommandEvent} @event{EVT_CHECKLISTBOX(id, func)} Process a wxEVT_COMMAND_CHECKLISTBOX_TOGGLED event, when an item in - the check list box is checked or unchecked. + the check list box is checked or unchecked. wxCommandEvent::GetInt() + will contain the index of the item that was checked or unchecked. + wxCommandEvent::IsChecked() is not valid! Use wxCheckListBox::IsChecked() + instead. @endEventTable @library{wxcore} @category{ctrl} - + @appearance{checklistbox.png} @see wxListBox, wxChoice, wxComboBox, wxListCtrl, wxCommandEvent */