Well, I've got a little problem, I have a list that contains objects from the class C, then I use those objects.__str__ to generate a ListCtrl, A wxPython widget that makes a list of strings and then you can handle events when selected, and returns the string selcted, how can I access the "parent" of that string?<br>
I tried to search on the array like this:<br>def search(self, string):<br> for obj in self.list:<br> if string == obj.__str__:<br> return obj<br> return None<br><br>But I always get None... What am I doing wrong?<br>