Changeset 1590 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Dec 1, 2014 4:08:22 PM (7 years ago)
Author:
toby
Message:

update grid cell editor for wx2.9+ change (see http://wxpython.org/migrationguide.php); create a GridCellAttr? for each Set...Attr()call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r1589 r1590  
    12921292            attr.SetEditor(G2gd.GridFractionEditor(Atoms))
    12931293            for c in range(colX,colX+3):
     1294                attr = wx.grid.GridCellAttr()
     1295                attr.IncRef()               #fix from Jim Hester
     1296                attr.SetEditor(G2gd.GridFractionEditor(Atoms))
    12941297                Atoms.SetColAttr(c, attr)
    12951298            for i in range(colU11-1,colU11+6):
Note: See TracChangeset for help on using the changeset viewer.