Files
wxWidgets/include/wx
Vadim Zeitlin be53b3fb20 Fix infinite recursion if wxGrid is modified from event handler
Calling wxGrid::{Insert,Delete}{Rows,Cols}() from wxEVT_GRID_CELL_CHANGE
event handler resulted in infinite recursion because it tried to hide
the grid editor control again, which resulted in another CELL_CHANGE
event being generated and so on.

Break this infinite recursion in the usual way, i.e. by updating the
state of wxGrid before invoking the user-defined event handler.

This required separating SaveEditControlValue() in 2 functions, the main
one retaining IsCellEditControlEnabled() check for compatibility, and
the new DoSaveEditControlValue() that can be called even after disabling
the editor.

Closes #2287.

Closes https://github.com/wxWidgets/wxWidgets/pull/1540
2019-09-12 00:53:21 +02:00
..
2019-07-20 17:01:30 +02:00
2014-03-30 00:02:23 +00:00
2014-05-16 13:01:29 +00:00
2014-03-30 00:02:23 +00:00
2014-05-15 22:32:17 +00:00
2019-01-30 17:35:54 +01:00
2018-05-18 18:49:00 -06:00
2014-03-03 07:04:37 +00:00
2018-09-24 00:11:31 +02:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2015-09-23 00:52:30 +02:00
2019-07-12 21:06:59 +02:00
2015-09-23 00:52:30 +02:00
2019-04-21 02:09:42 +02:00
2019-08-23 22:55:05 +02:00
2015-09-06 17:20:42 -07:00
2014-03-30 00:02:23 +00:00
2014-05-15 23:56:58 +00:00
2014-03-30 00:02:23 +00:00
2014-11-11 07:50:33 +00:00
2019-02-02 15:54:21 +01:00
2019-01-30 17:35:54 +01:00
2014-03-30 00:02:23 +00:00
2016-09-25 13:21:28 -07:00
2017-11-21 13:49:21 +01:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 23:56:58 +00:00
2014-05-15 23:56:58 +00:00
2014-08-24 01:50:11 +00:00
2015-09-23 00:52:30 +02:00
2015-09-23 00:52:30 +02:00
2017-10-01 10:03:48 -07:00
2015-09-23 00:52:30 +02:00
2016-09-25 13:21:28 -07:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2018-09-22 14:44:07 +02:00
2014-03-30 00:02:23 +00:00
2015-09-23 00:52:30 +02:00
2015-09-06 17:20:42 -07:00
2017-07-16 15:03:22 +02:00
2014-08-24 01:50:11 +00:00
2019-01-30 17:35:54 +01:00
2019-08-05 13:46:15 +02:00
2016-02-01 13:48:48 +01:00
2016-02-01 13:48:48 +01:00
2016-09-25 13:21:28 -07:00
2019-01-30 17:35:54 +01:00
2017-10-08 10:38:54 +02:00
2014-08-24 01:50:11 +00:00
2014-10-25 18:06:36 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-05-15 22:32:17 +00:00
2019-08-07 12:05:13 +02:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2019-01-30 17:35:54 +01:00
2019-08-25 12:32:51 +02:00
2016-09-25 13:21:28 -07:00
2018-03-06 23:31:01 +01:00
2014-03-30 00:02:23 +00:00
2016-09-25 13:21:28 -07:00
2019-02-17 22:42:26 -08:00
2019-09-06 20:59:59 +02:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2019-04-21 20:04:52 +02:00
2017-06-21 22:51:57 +04:00
2018-09-22 14:44:07 +02:00
2014-03-30 00:02:23 +00:00
2014-05-16 13:01:06 +00:00
2015-09-06 17:20:42 -07:00
2016-02-21 20:12:31 +02:00
2014-08-24 01:50:11 +00:00
2019-01-05 23:33:35 +01:00
2019-01-30 17:35:54 +01:00
2018-12-10 19:06:18 +01:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2019-08-21 19:30:07 +02:00
2018-08-22 08:12:11 -07:00
2017-10-27 20:13:04 +02:00
2014-05-15 23:56:58 +00:00
2019-01-30 17:35:54 +01:00
2019-01-30 17:35:54 +01:00
2019-01-30 17:35:54 +01:00
2019-01-30 17:35:54 +01:00
2019-01-30 17:35:54 +01:00
2019-01-30 17:35:54 +01:00
2018-08-05 14:21:50 +02:00