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