Files
wxWidgets/tests/controls
Ilya Sinitsyn 1bce1a1d4c Make using non-wxControl-derived wxGrid editors really work
While feacaf8714 changed the API to allow
using any wxWindow (and not only a window of a wxControl-derived class)
as the associated window of the grid editor, actually doing resulted in
an immediate crash due to dereferencing a null pointer in wxGrid code
which still expected to have a wxControl.

Fix this by replacing all calls to wxGridCellEditor::GetControl() inside
wxGrid with wxGridCellEditor::GetWindow(), to ensure that a non-null
editor window is used even in this case.

Closes https://github.com/wxWidgets/wxWidgets/pull/1509
2019-08-27 22:09:03 +02:00
..
2018-07-29 12:08:53 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-09-22 14:44:07 +02:00