Changeset 5251ec6 in sasview for src/sas/sasview/sasview.py


Ignore:
Timestamp:
Oct 11, 2018 2:20:56 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1249
Children:
98b9f32
Parents:
67ed543
Message:

improved support for py37 in sasgui

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasview/sasview.py

    r1270e3c r5251ec6  
    4242 
    4343        from sas.sasgui.guiframe.gui_manager import SasViewApp 
     44        from sas.sasgui.guiframe.gui_style import GUIFRAME_ICON 
    4445        self.gui = SasViewApp(0) 
     46        GUIFRAME_ICON.load_icons() 
    4547        if sys.platform == "darwin": 
    4648            self.check_sasmodels_compiler() 
     
    228230        logger.error("Wx version: error reading version") 
    229231 
    230     from . import wxcruft 
    231     wxcruft.call_later_fix() 
     232    # TODO: Do we need the call later fix for wx 3? Or is it wx < 3 only? 
     233    if "phoenix" in wx.PlatformInfo: 
     234        #wx.NewId = wx.Window.NewControlId 
     235        pass 
     236    else: 
     237        from . import wxcruft 
     238        wxcruft.call_later_fix() 
    232239    #wxcruft.trace_new_id() 
    233240    #Always use private .matplotlib setup to avoid conflicts with other 
Note: See TracChangeset for help on using the changeset viewer.