Support native MSW check-boxes in wxListCtrl.

This commit is contained in:
Maarten Bent
2015-12-17 14:27:53 +01:00
parent 46953a1426
commit 418a96d44c
4 changed files with 64 additions and 0 deletions

View File

@@ -216,6 +216,12 @@ public:
void SetItemFont( long item, const wxFont &f);
wxFont GetItemFont( long item ) const;
// Checkbox state of an item
bool HasCheckboxes() const;
void EnableCheckboxes(bool enable = true);
bool IsItemChecked(long item) const;
void CheckItem(long item, bool check);
// Gets the number of selected items in the list control
int GetSelectedItemCount() const;