Files
wxWidgets/include/wx
Ilya Sinitsyn dda6aa6bdc Fix assert with setting current cell in wxGrid::Redimension()
Avoid calling wxGrid::SetCurrentCell(0, 0) when the grid has no columns
or rows, as it doesn't have any cells then and doing this logically
fails the precondition assert in GetColPos().

Also refactor all 6 different snippets calling SetCurrentCell() in
Redimension() into a single function to simplify the code and make it
more maintainable.

Add a unit test verifying that this works as intended.

Closes https://github.com/wxWidgets/wxWidgets/pull/1546
2019-09-13 00:47:48 +02:00
..
2019-07-20 17:01:30 +02:00
2019-09-04 14:19:24 -07: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
2019-09-05 13:33:15 -07: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