Retrieve image indices in wxTreeListCtrl Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
a little bit
In need of some credit
In need of some credit
Posts: 6
Joined: Sat Apr 10, 2021 11:46 am

Retrieve image indices in wxTreeListCtrl

Post by a little bit »

Is there a way to retrieve the image indices of a wxTreeListItem (as settable via InsertItem()), similar to retrieving the item text via GetItemText()? I cannot find API functions GetItemImageClosed()/GetItemImageOpen().
User avatar
doublemax
Moderator
Moderator
Posts: 19116
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Retrieve image indices in wxTreeListCtrl

Post by doublemax »

I looked into the sources, and it seems there is no way to read these values.
Use the source, Luke!
Post Reply