Files
wxWidgets/tests
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
..
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2019-01-14 23:39:02 +01:00
2018-09-19 22:01:17 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2018-09-22 14:44:07 +02:00
2018-01-29 00:48:56 +01:00
2019-08-05 20:51:46 +02:00
2019-08-25 12:32:51 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2018-09-22 14:44:07 +02:00
2019-01-05 23:33:35 +01:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2015-03-19 21:46:05 +01:00
2019-03-20 17:07:39 -05:00