Update documentation of wxListCtrl IsItemChecked and CheckItem

This commit is contained in:
Maarten Bent 2023-09-21 15:48:17 +02:00
parent 39873236bf
commit f68bb391ce
No known key found for this signature in database
GPG key ID: 58AAEE3F4A4FD070

View file

@ -1386,6 +1386,8 @@ public:
Always returns false if checkboxes support hadn't been enabled.
For a control with @c wxLC_VIRTUAL style, this uses OnGetItemIsChecked().
@param item Item (zero-based) index.
@since 3.1.0
@ -1398,6 +1400,10 @@ public:
This method only works if checkboxes support had been successfully
enabled using EnableCheckBoxes().
For a control with @c wxLC_VIRTUAL style, this will only generate the
@c EVT_LIST_ITEM_CHECKED and @c EVT_LIST_ITEM_UNCHECKED events. See
OnGetItemIsChecked() for information on how to update the checkbox state.
@param item Item (zero-based) index.
@param check If @true, check the item, otherwise uncheck.