Re: wxGrid events in the constructor
Vadim Zeitlin <[email protected]> Sun, 1 Jun 2025 12:32:45 +0200
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 28 May 2025 03:54:12 -0700 (PDT) Сергей Коныгин wrote:
> I can't understand which wxGrid functions create events.
I wouldn't expect any of them to do it.
> For example, it seems to me that the wxGrid::SetCellValue function can
> generate the EVT_GRID_CELL_CHANGED event.
I don't think it does. And if you run the grid sample, you won't see any
events for the calls to SetCellValue() in the main frame ctor.
> How to properly change wxGrid content from constructor and event handlers?
You would need to produce either a minimal standalone example or a minimal
patch to the grid sample reproducing the problem, as I just don't
understand what it is, so I can't help you with fixing it.
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+vLQdOwioQqkxtoG6kHeT2wehgUCaDwsTQAKCRAG6kHeT2we hqFbAJkBC/YKINKtrulFXw32THPJxlFyugCeMxLCTZ4IfdrPN8hBskRq4yPNVp0= =ZG21 -----END PGP SIGNATURE-----