Changeset 4797 for trunk


Ignore:
Timestamp:
Feb 3, 2021 11:05:41 AM (2 years ago)
Author:
toby
Message:

work on docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrlGUI.py

    r4795 r4797  
    150150# where listmix.ListCtrlAutoWidthMixin, listmix.ColumnSorterMixin are same
    151151# in docs build
    152 if listmix.ListCtrlAutoWidthMixin == listmix.ColumnSorterMixin:
    153     print('Dummy out listmix classes for docs build')
     152try:
     153    class _(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.ColumnSorterMixin): pass
     154except TypeError:
     155    print('docs build conflict in listmix classes')
    154156    class Placeholder(object):
    155157        def __init__(self, vals):
     
    160162                return object
    161163            return Placeholder([])
    162        
    163164    listmix = Placeholder()
    164165    listmix.ListCtrlAutoWidthMixin = Placeholder()
    165166    listmix.ColumnSorterMixin = Placeholder()
     167    class _(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.ColumnSorterMixin): pass
    166168
    167169       
Note: See TracChangeset for help on using the changeset viewer.