I've got a wx.grid.Grid subclass that has one text column and a number of
boolean columns that display as checkmarks. On each of the boolean cells I
call mygrid.SetCellAlignment(row,column,wx.ALIGN_CENTER,wx.ALIGN_CENTER).
I'm finding the last cell of the last column is left aligned until the
grid is refreshed or the cell interacted with. Selecting the cell makes it
jump to the correct alignment. I've tried calling Refresh() and Update()
on the grid but that doesn't make the cell update it's alignment.
This happens on Windows 2000 and Solaris, under python 2.3 and 2.4 with
wxPython 2.5.3.1 and 2.5.4.1.
I've attached a sample program that demonstrates the problem.
Any clues on how to force the cell into alignment?
Thanks,
james evans
gridalign.py (1.44 KB)