Changeset 3244cbe1 in sasview for sansview/perspectives/fitting/fitpanel.py
- Timestamp:
- Feb 22, 2010 5:39:40 PM (15 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:
- 4cf7443
- Parents:
- 2c39863
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpanel.py
re2f1023 r3244cbe1 5 5 import wx.aui 6 6 import wx.lib 7 import wx.lib.agw.aui.auibook as agw_aui 7 from wx.aui import AuiNotebook 8 8 9 9 … … 124 124 self.window_caption = "Page" 125 125 126 class FitPanel( agw_aui.AuiNotebook):126 class FitPanel(AuiNotebook): 127 127 128 128 """ … … 139 139 140 140 def __init__(self, parent, *args, **kwargs): 141 agw_aui.AuiNotebook.__init__(self,parent,-1, 142 style= agw_aui.AUI_NB_WINDOWLIST_BUTTON| 143 agw_aui.AUI_NB_DEFAULT_STYLE| 144 wx.CLIP_CHILDREN| 145 agw_aui.AUI_NB_HIDE_ON_SINGLE_TAB) 141 AuiNotebook.__init__(self,parent,-1, 142 style= wx.aui.AUI_NB_WINDOWLIST_BUTTON| 143 wx.aui.AUI_NB_DEFAULT_STYLE| 144 wx.CLIP_CHILDREN) 146 145 147 146 self.manager=None … … 149 148 self.event_owner=None 150 149 151 pageClosedEvent = agw_aui.EVT_AUINOTEBOOK_PAGE_CLOSE152 self.Bind( agw_aui.EVT_AUINOTEBOOK_PAGE_CLOSE, self.onClosePage)150 pageClosedEvent = wx.aui.EVT_AUINOTEBOOK_PAGE_CLOSE 151 self.Bind(wx.aui.EVT_AUINOTEBOOK_PAGE_CLOSE, self.onClosePage) 153 152 154 153 #dictionary of miodel {model class name, model class}
Note: See TracChangeset
for help on using the changeset viewer.