Files
wxWidgets/include/wx/generic
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
..
2016-09-25 13:21:28 -07:00
2014-03-30 00:02:23 +00:00
2015-09-23 00:52:30 +02:00
2018-10-09 22:24:58 -07:00
2016-12-11 15:20:42 +01:00
2015-09-06 17:20:42 -07:00
2016-09-25 13:21:28 -07:00
2015-09-06 17:20:42 -07:00
2016-09-25 13:21:28 -07:00
2019-08-05 13:46:15 +02:00
2014-03-30 00:02:23 +00:00
2015-09-06 17:20:42 -07:00
2015-09-06 17:20:42 -07:00
2015-09-06 17:20:42 -07:00
2015-09-06 17:20:42 -07:00
2016-09-25 13:21:28 -07:00