mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-10-06 07:00:16 +08:00
Remember the editor instance used for the shown edit control and use it for visibility checks, painting, hiding, and saving. This keeps the edit control lifetime independent of later attribute changes, so replacing a cell or column editor while editing does not make wxGrid hide or save through the wrong editor. Add a regression covering replacement of a column bool editor while its cell is being edited. Fixes #21986. Closes #26670.