I need to allow the user to edit the strings in a wxCheckListBox and allow them to re-order the items in the wxCheckListBox.
Can I do this with wxCheckListBox?
If not, what would be the best way to implement this? Use a wxListCtrl? wxGrid? wxDataViewCtrl? (does wxDataViewCtrl work on wxMSW/wxMac?)
Thanks for any help,
tasdev
editable wxCheckListBox? Topic is solved
I don't think you can do this with wxCheckListBox. But you can make your own custom wxCheckListBox that catches mouse events and calls wxListBox::HitTest(wxPoint) to determine which item the user is dragging or droping on and then use Delete and InsertItem to shuffle the items about appropriatly.
-Max
-Max