wxWidgets/samples/grid
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
..
bitmap1.bmp
bitmap2.bmp
grid_vc7.vcproj Rebake after changes 2020-03-27 23:15:03 +01:00
grid_vc8.vcproj Rebake after changes 2020-03-27 23:15:03 +01:00
grid_vc9.vcproj Rebake after changes 2020-03-27 23:15:03 +01:00
grid.bkl Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
griddemo.cpp Restore overflowing for cells with non-default vertical alignment 2020-03-31 19:32:47 +02:00
griddemo.h Add wxObjectDataPtr::release() 2020-03-31 02:57:01 +02:00
makefile.bcc Rebake after adding DPI awareness option 2019-11-30 22:52:48 +01:00
makefile.gcc Rebake after adding DPI awareness option 2019-11-30 22:52:48 +01:00
Makefile.in Don't override CFLAGS etc in configure-generated makefile 2020-02-11 23:19:31 +01:00
makefile.unx Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
makefile.vc Rebake after changes 2020-03-27 23:15:03 +01:00