wxGrid events in the constructor
Сергей Коныгин <[email protected]> Wed, 28 May 2025 03:54:12 -0700 (PDT)
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
Hi! I can't understand which wxGrid functions create events. For example, it seems to me that the wxGrid::SetCellValue function can generate the EVT_GRID_CELL_CHANGED event. At least, I had cases when for some reason the handler of this event was called from window class constructor. I even had to block the handler from running when it was called from the constructor. A similar situation occurs when I need to change other cells in the EVT_GRID_CELL_CHANGED event handler. It happens that the error shown in the figure appears randomly. How to properly change wxGrid content from constructor and event handlers? -- 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/4575aa6b-e95b-4a79-ae28-0a6cf510c004n%40googlegroups.com.
1.png
(image/png, 7.1 KB) - not displayed