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/