Changeset 0dde203 in sasview for src/sas


Ignore:
Timestamp:
Apr 1, 2019 9:35:38 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
ticket-1249
Children:
d620d03c
Parents:
a5e1b6ca
Message:

Fix model editor load/save for wx4. Refs #1260, #1273.

Location:
src/sas/sasview
Files:
1 added
1 edited

Legend:

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

    r5251ec6 r0dde203  
    227227    try: 
    228228        logger.info("Wx version: %s", wx.__version__) 
     229        logger.info("Wx PlatformInfo: %s", wx.PlatformInfo) 
    229230    except AttributeError: 
    230231        logger.error("Wx version: error reading version") 
     
    233234    if "phoenix" in wx.PlatformInfo: 
    234235        #wx.NewId = wx.Window.NewControlId 
    235         pass 
     236        from . import wx4cruft 
     237        wx4cruft.patch_py_editor() 
    236238    else: 
    237239        from . import wxcruft 
Note: See TracChangeset for help on using the changeset viewer.