Changeset 846c724 in sasview


Ignore:
Timestamp:
Aug 23, 2011 10:46:31 AM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
75ea4e8
Parents:
c0c9f68e
Message:

unlocked show plots for mac

Location:
sansguiframe/src/sans/guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/gui_manager.py

    rc0c9f68e r846c724  
    148148    PLUGINS_WLIST = '' 
    149149APPLICATION_WLIST = config.APPLICATION_WLIST 
    150 if sys.platform.count("darwin")==0: 
    151     IS_WIN = True 
    152 else: 
     150IS_WIN = True 
     151if sys.platform.count("win32")==0: 
    153152    IS_WIN = False 
     153 
    154154     
    155155class ViewerFrame(wx.Frame): 
     
    689689                              Left(). 
    690690                              MinimizeButton(). 
    691                               CloseButton(IS_WIN). 
     691                              CloseButton(True). 
    692692                              TopDockable(False). 
    693693                              BottomDockable(False). 
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/plotting.py

    r3603b2e r846c724  
    2424DEFAULT_MENU_ITEM_ID = wx.NewId() 
    2525 
    26 if sys.platform.count("darwin")==0: 
    27     IS_WIN = True 
    28 else: 
    29     IS_WIN = False 
     26IS_WIN = True     
     27if sys.platform.count("win32")==0: 
     28    if wx.__version__.split('.')[0] == 2: 
     29        if wx.__version__.split('.')[1] < 9: 
     30            IS_WIN = False 
     31 
    3032 
    3133class Plugin(PluginBase): 
Note: See TracChangeset for help on using the changeset viewer.