Vadim Zeitlin
ca30169767
Restore overflowing for cells with non-default vertical alignment
...
Since the changes in a40acbb28e (Add CanOverflow function to
wxGridCellAttr, 2020-02-06), cells with non-default vertical alignment
didn't overflow any more, even if their horizontal alignment was
unchanged and still defaulted to left-aligned.
This was due to assuming that if the alignment of wxGridCellAttr itself
was different from wxALIGN_LEFT, it meant that it wasn't left-aligned,
which seems logical but is in fact false, as the alignment can also be
wxALIGN_INVALID, in which case the real alignment is taken from the
default grid attribute.
Fix this by using GetNonDefaultAlignment() to get the alignment value
effectively used and add a unit test, as well as an example in the
sample, showing that this now works correctly.
2020-03-31 19:32:47 +02:00
..
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-28 14:10:17 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-31 19:32:47 +02:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2020-03-27 23:15:03 +01:00
2018-05-02 15:53:09 +02:00
2019-10-30 00:02:08 +01:00
2019-10-30 00:02:08 +01:00
2017-08-15 19:16:27 +02:00
2020-03-27 23:15:03 +01:00
2015-12-03 22:11:04 +01:00
2015-03-19 21:46:05 +01:00
2019-07-18 17:48:23 +02:00