wxTreeCtrl

Andrea Gavana wrote:

Hi Thomas,

When using a wxTreeCtrl, items which don't have an icon explicitly set get the default (first) icon from the icon list.

Is it possible to avoid this, without causing ugly indentation (caused by using a blank image)?

Are you on Windows? If the answer is yes, it's another Windows quirk :smiley: .

If you ask microsoft they'll tell you it's a feature. :frowning: If you have an image list then they assume you are going to use an image on all the items so they reserve space for it.

ยทยทยท

On Wed, Jun 4, 2008 at 4:00 PM, ARCHER, Thomas wrote:

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!