Ignore:
Timestamp:
Feb 22, 2010 5:39:40 PM (15 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:
4cf7443
Parents:
2c39863
Message:

add media folder , reverse fit_panel for now

File:
1 edited

Legend:

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

    re2f1023 r3244cbe1  
    55import wx.aui 
    66import wx.lib 
    7 import wx.lib.agw.aui.auibook as agw_aui 
     7from wx.aui import AuiNotebook  
    88 
    99 
     
    124124        self.window_caption = "Page" 
    125125     
    126 class FitPanel(agw_aui.AuiNotebook):     
     126class FitPanel(AuiNotebook):     
    127127 
    128128    """ 
     
    139139     
    140140    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) 
    146145     
    147146        self.manager=None 
     
    149148        self.event_owner=None 
    150149         
    151         pageClosedEvent = agw_aui.EVT_AUINOTEBOOK_PAGE_CLOSE 
    152         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) 
    153152        
    154153        #dictionary of miodel {model class name, model class} 
Note: See TracChangeset for help on using the changeset viewer.