Changeset d34f9f6 in sasview


Ignore:
Timestamp:
May 4, 2011 10:37:27 AM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
4e367f6
Parents:
08e1912
Message:

fix datapanel kwrds for vista

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/data_panel.py

    r2567003 rd34f9f6  
    6161            try: 
    6262                kwds['style'] = STYLE_FLAG 
     63                CT.CustomTreeCtrl.__init__(self, parent, *args, **kwds) 
    6364            except: 
    64                 raise 
     65                del kwds['style'] 
     66                CT.CustomTreeCtrl.__init__(self, parent, *args, **kwds) 
    6567        else: 
    6668            #agwstyle is introduced in wx.2.8.11 .argument working only for windows 
    6769            try: 
    6870                kwds['agwStyle'] = STYLE_FLAG 
     71                CT.CustomTreeCtrl.__init__(self, parent, *args, **kwds) 
    6972            except: 
    7073                try: 
     74                    del kwds['agwStyle'] 
    7175                    kwds['style'] = STYLE_FLAG 
     76                    CT.CustomTreeCtrl.__init__(self, parent, *args, **kwds) 
    7277                except: 
    73                     raise 
    74          
    75         CT.CustomTreeCtrl.__init__(self, parent, *args, **kwds) 
     78                    del kwds['style'] 
     79                    CT.CustomTreeCtrl.__init__(self, parent, *args, **kwds) 
    7680        self.root = self.AddRoot("Available Data") 
    7781         
Note: See TracChangeset for help on using the changeset viewer.