TaskList Manager - wxWidget GUI - WIP

BlitzMax Modules Forums/Brucey's Modules/TaskList Manager - wxWidget GUI - WIP

You also probably want some way to tie a specific row in your listbox to a Type instance.

With Insert() and Append(), there's an optional clientData parameter with which you can attach your Type instance. (and I even believe it is referenced in there too, so you might not need to keep your own list. ie. it shouldn't be GC'd if you don't store it in your own list).

Then, when you select something from the listbox, you can get more details out of the clientData field, which you can then use to do whatever..

Future version of wxWidgets are going to have a proper MVC style data/view model which should make working like this much easier.