4 #include <wx/listctrl.h>
5 #include <wx/imaglist.h>
13 MyListCtrlCheckbox(wxWindow *parent, wxWindowID
id,
const wxPoint &pos=wxDefaultPosition,
const wxSize &size=wxDefaultSize,
14 long style=wxLC_ICON,
const wxValidator &validator=wxDefaultValidator,
const wxString &name=wxListCtrlNameStr);
17 std::vector<long> GetCheckedIds()
const;
18 std::vector<long> GetUncheckedIds()
const;
19 std::vector<wxUIntPtr> GetCheckedData()
const;
20 std::vector<wxUIntPtr> GetUncheckedData()
const;
21 bool IsChecked(
long item)
const;
22 void SetChecked(
long item,
bool checked);
25 std::vector<long> GetAllItems()
const;
26 void OnMouseEvent(wxMouseEvent& event);
28 virtual void OnClickedCheckbox(
long item );
32 const wxSize m_imageSize;
33 wxImageList m_imageList;
37 #endif // MYLISTCTRL_H