Change the image of a list item (listctrl)

Donn Ingle donn.ingle at gmail.com
Sun Dec 3 04:08:08 PST 2006


Okay - FWIW, I found the SetItemImage command in the wxWidgets docs and that
seems to do the job!

        index = self.GetFocusedItem ( )
        if T.isInstalled ( ): n = 1
        else: n = 0
        self.SetItemImage ( index, n )


/d





More information about the wxpython-users mailing list