cfbc15ee04
wxGridCellAttr didn't provide any way to query its alignment attributes without falling back to the (always defined) default alignment so the code in wxGridCellNumberRenderer and similar classes simply always used right alignment, Add a new wxGridCellAttr::GetNonDefaultAlignment() function which allows to retrieve the alignment defined in the attribute and use it to use right alignment by default but allow overriding it. Add a test to the sample showing a non right-aligned numeric cell. Incidentally fix a long-standing bug in wxGridCell{DateTime,Enum}Renderers which used wxRIGHT instead of wxALIGN_RIGHT and so were not aligned properly even by default. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 |
||
---|---|---|
.. | ||
bitmap1.bmp | ||
bitmap2.bmp | ||
grid_vc7.vcproj | ||
grid_vc8.vcproj | ||
grid_vc9.vcproj | ||
grid.bkl | ||
grid.dsp | ||
griddemo.cpp | ||
griddemo.h | ||
griddemo.rc | ||
griddemoM7.mcp | ||
makefile.bcc | ||
makefile.gcc | ||
Makefile.in | ||
makefile.unx | ||
makefile.vc | ||
makefile.wat |