I'm trying to display a Listbook but am not getting any icons
displayed. The demo works fine. Does anyone see anything wrong with
the attached? I've tried creating the imagelist first, then adding the
pages afterwards but the result is the same: I get the names of the
pages but no icons.
I'm trying to display a Listbook but am not getting any icons
displayed. The demo works fine. Does anyone see anything wrong with
the attached? I've tried creating the imagelist first, then adding the
pages afterwards but the result is the same: I get the names of the
pages but no icons.
The imageId is the 4th parameter of AddPage, not the 3rd. Try this:
self.AddPage(panel, title, imageId=idx)
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!