DVC_IndexListModel vs DVC_ListCtrl

DVC_IndexListModel vs DVC_ListCtrl

Can someone tell me in brief the difference between these two?

Thanks,
Michael

They are both demo sample modules showing different parts of the dataview module. The 2nd one demonstrates DataViewListCtrl which is a class that is intended to be much like wx.ListCtrl in that you load all data into it before use and you do not need to implement your own data model class. The first one shows how to make a data model class derived from DataViewIndexListModel and how to use it with a DataViewCtrl.

···

On 11/2/11 2:05 PM, Michael Hipp wrote:

DVC_IndexListModel vs DVC_ListCtrl

Can someone tell me in brief the difference between these two?

--
Robin Dunn
Software Craftsman