- Timestamp:
- Feb 3, 2021 11:05:41 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIctrlGUI.py
r4795 r4797 150 150 # where listmix.ListCtrlAutoWidthMixin, listmix.ColumnSorterMixin are same 151 151 # in docs build 152 if listmix.ListCtrlAutoWidthMixin == listmix.ColumnSorterMixin: 153 print('Dummy out listmix classes for docs build') 152 try: 153 class _(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.ColumnSorterMixin): pass 154 except TypeError: 155 print('docs build conflict in listmix classes') 154 156 class Placeholder(object): 155 157 def __init__(self, vals): … … 160 162 return object 161 163 return Placeholder([]) 162 163 164 listmix = Placeholder() 164 165 listmix.ListCtrlAutoWidthMixin = Placeholder() 165 166 listmix.ColumnSorterMixin = Placeholder() 167 class _(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.ColumnSorterMixin): pass 166 168 167 169
Note: See TracChangeset
for help on using the changeset viewer.