Changeset 0b92f4f4 in sasview


Ignore:
Timestamp:
Feb 6, 2009 2:25:53 PM (16 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:
0c218d9
Parents:
53087f2
Message:

remove close option on tab

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpanel.py

    r10c43a5 r0b92f4f4  
    77_BOX_WIDTH = 80 
    88 
    9  
     9(FitPageEvent, EVT_FIT_PAGE)   = wx.lib.newevent.NewEvent() 
    1010class FitPanel(wx.aui.AuiNotebook):     
    1111#class FitPanel(wx.aui.AuiNotebook,wx.panel): 
     
    2323    def __init__(self, parent, *args, **kwargs): 
    2424         
    25         #wx.aui.AuiNotebook.__init__(self,parent,-1, style=wx.aui.AUI_NB_SCROLL_BUTTONS ) 
    26         wx.aui.AuiNotebook.__init__(self,parent,-1, style=wx.aui.AUI_NB_DEFAULT_STYLE  ) 
     25        wx.aui.AuiNotebook.__init__(self,parent,-1, style=wx.aui.AUI_NB_SCROLL_BUTTONS ) 
     26        #wx.aui.AuiNotebook.__init__(self,parent,-1, style=wx.aui.AUI_NB_DEFAULT_STYLE  ) 
    2727         
    2828         
     
    104104        if self.fit_page_name != name: 
    105105            self.count +=1 
    106              
    107             """ 
    108             if data.__class__.__name__=='Data2D': 
    109                  from fitpage2D import FitPage2D 
    110                  panel = FitPage2D(self,data, -1) 
    111                   
    112             else: 
    113            """ 
     106          
    114107            #self.about_page.Disable() 
    115108            from fitpage1D import FitPage1D 
     
    123116            panel.populate_box( self.model_list_box) 
    124117            self.fit_page_name = name 
     118            EVT_FIT_PAGE 
    125119            return panel,m_name 
    126120         
Note: See TracChangeset for help on using the changeset viewer.