X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/991e49b62a92e3a77086f7db5766d7e6db32ef3e..331f1e07ce3bf25c6f6848eac04a7551c0345d25:/wxPython/wx/lib/mixins/listctrl.py diff --git a/wxPython/wx/lib/mixins/listctrl.py b/wxPython/wx/lib/mixins/listctrl.py index 06e9e392c2..09972aa4ea 100644 --- a/wxPython/wx/lib/mixins/listctrl.py +++ b/wxPython/wx/lib/mixins/listctrl.py @@ -702,12 +702,17 @@ class CheckListCtrlMixin: """ This is a mixin for ListCtrl which add a checkbox in the first column of each row. It is inspired by limodou's CheckList.py(which - can be got from his NewEdit) and improved: + can be got from his NewEdit) and improved: + - You can just use InsertStringItem() to insert new items; - - Once a checkbox is checked/unchecked, the corresponding item is not - selected; + + - Once a checkbox is checked/unchecked, the corresponding item + is not selected; + - You can use SetItemData() and GetItemData(); - - Interfaces are changed to OnCheckItem(), IsChecked(), CheckItem(). + + - Interfaces are changed to OnCheckItem(), IsChecked(), + CheckItem(). You should not set a imagelist for the ListCtrl once this mixin is used. """