wxListCtrl and ClientData

BlitzMax Modules Forums/Brucey's Modules/wxListCtrl and ClientData

Yeah, you could have a field representing the currently selected item.

You could also, when building the second list, populate those items into a list contained within your TMainTask type. Logically, a TMainTask can contain a list of TSubTasks.