Changeset 0b92f4f4 in sasview
- Timestamp:
- Feb 6, 2009 2:25:53 PM (16 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpanel.py
r10c43a5 r0b92f4f4 7 7 _BOX_WIDTH = 80 8 8 9 9 (FitPageEvent, EVT_FIT_PAGE) = wx.lib.newevent.NewEvent() 10 10 class FitPanel(wx.aui.AuiNotebook): 11 11 #class FitPanel(wx.aui.AuiNotebook,wx.panel): … … 23 23 def __init__(self, parent, *args, **kwargs): 24 24 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 ) 27 27 28 28 … … 104 104 if self.fit_page_name != name: 105 105 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 114 107 #self.about_page.Disable() 115 108 from fitpage1D import FitPage1D … … 123 116 panel.populate_box( self.model_list_box) 124 117 self.fit_page_name = name 118 EVT_FIT_PAGE 125 119 return panel,m_name 126 120
Note: See TracChangeset
for help on using the changeset viewer.