Re: wxDataViewCtrl with an expander column, hiding the ">" if the item has no children?
Tony Kennedy <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
Ahh, I'll test then, it's probably my error. On Thursday, 13 February 2025 at 13:10:11 UTC Vadim Zeitlin wrote: > On Thu, 13 Feb 2025 00:41:55 -0800 (PST) Tony Kennedy wrote: > > TK> Hi all, > TK> > TK> I've got a wxDataViewCtrl. Works perfectly, some of the entries do not > have > TK> child nodes though, and if possible, I'd like to hide the ">" symbol. > > If an item doesn't have children, as indicated by the model IsContainer() > function returning false, it shouldn't have the expander and if you see it, > it would be a bug. In this case, as usual, please check if you can > reproduce it in the sample and report it, mentioning the wx version and > platform you use. > > Regards, > VZ > > -- > TT-Solutions: wxWidgets consultancy and technical support > https://www.tt-solutions.com/ > -- Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. --- You received this message because you are subscribed to the Google Groups "wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/wx-users/c7cebfe2-c251-4357-92ea-eb64ceb06670n%40googlegroups.com.