Re: wxDataViewCtrl with an expander column, hiding the ">" if the item has no children?
Vadim Zeitlin <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
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/
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCZ63vLQAKCRAG6kHeT2we hvLqAJ9vtnv4TWvoocKotNxZ+V/PoVJ02gCgoQHPHN9l5x4VhjYQMQO6NRA9coQ= =ITg+ -----END PGP SIGNATURE-----