Files
wxWidgets/include/wx
Vadim Zeitlin 45bc2e648b Remove check for read only cells from IsCellEditControlEnabled()
This check was introduced back in 283b7808d8 (added support for readonly
cells and 3d border drawing, 2000-02-16), but was wrong even then and
remained wrong ever since: we must not set m_cellEditCtrlEnabled to true
when the current cell is read-only, so there is no need to check for the
latter condition if m_cellEditCtrlEnabled is indeed true.

Ensure that we really never erroneously set m_cellEditCtrlEnabled for
the read-only cells by replacing an wxASSERT_MSG checking for this in
EnableCellEditControl() with wxCHECK_RET().

Also explicitly document this function precondition, also added back in
b54ba67107 ([...] added CanEnableCellControl() and use it before calling
EnableEC, 2000-02-17) but never documented so far.
2020-06-28 00:02:29 +02:00
..
2019-01-30 17:35:54 +01:00
2018-05-18 18:49:00 -06:00
2018-09-24 00:11:31 +02:00
2020-06-01 18:16:52 +02:00
2019-04-21 02:09:42 +02:00
2020-03-10 02:42:08 +01:00
2019-11-29 01:10:43 +01:00
2020-05-15 00:02:14 +02:00
2017-11-21 13:49:21 +01:00
2017-10-01 10:03:48 -07:00
2020-02-02 14:50:57 +01:00
2018-09-22 14:44:07 +02:00
2017-07-16 15:03:22 +02:00
2019-01-30 17:35:54 +01:00
2019-10-08 01:20:44 +02:00
2020-05-15 00:02:14 +02:00
2020-03-31 02:57:01 +02:00
2019-01-30 17:35:54 +01:00
2019-08-25 12:32:51 +02:00
2019-02-17 22:42:26 -08:00
2019-11-01 21:07:15 +01:00
2019-10-14 08:10:41 +03:00
2017-06-21 22:51:57 +04:00
2020-05-15 00:02:14 +02:00
2019-01-05 23:33:35 +01:00
2019-01-30 17:35:54 +01:00
2019-10-28 14:11:00 +01:00
2020-05-15 00:02:14 +02:00
2020-05-15 00:02:14 +02:00
2017-10-27 20:13:04 +02: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