After rereading everything i can find about Client Data I can confidently say i understand it conceptually.
Accessing its data in a clean way that makes sense to me is another story.
So because this has delayed any progress on my actual project for the last week i have decided to not use client data and go back to the simple method of putting the primary key into the first ListCtrl column and giving it a width of 0. That way it is not seen but i can access it with wxListItem.GetText().
Not the most elegant solution but since i am still a beginner, hey it works :)
If anyone wants to see what i ended up with just let me know and i will post the commented code.
Cheers
Glenn
Accessing its data in a clean way that makes sense to me is another story.
So because this has delayed any progress on my actual project for the last week i have decided to not use client data and go back to the simple method of putting the primary key into the first ListCtrl column and giving it a width of 0. That way it is not seen but i can access it with wxListItem.GetText().
Not the most elegant solution but since i am still a beginner, hey it works :)
If anyone wants to see what i ended up with just let me know and i will post the commented code.
Cheers
Glenn