Ignore:
Timestamp:
Jan 10, 2011 1:59:19 PM (14 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:
6a0cbcf4
Parents:
691643c
Message:

make panel inheriting from panelbase of guiframe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/perspectives/calculator/slit_length_calculator_panel.py

    r6996942 re696e0a  
    1313import os 
    1414 
    15 #from DataLoader.readers.ascii_reader import Reader 
     15from sans.guiframe.panel_base import PanelBase 
     16 
    1617from sans.guicomm.events import StatusEvent   
    1718from sans.calculator.slit_length_calculator import SlitlengthCalculator   
     
    3031    FONT_VARIANT = 1 
    3132  
    32 class SlitLengthCalculatorPanel(wx.Panel): 
     33class SlitLengthCalculatorPanel(wx.Panel, PanelBase): 
    3334    """ 
    3435        Provides the slit length calculator GUI. 
     
    4344    def __init__(self, parent, *args, **kwds): 
    4445        wx.Panel.__init__(self, parent, *args, **kwds) 
     46        PanelBase.__init__(self) 
    4547        #Font size  
    4648        self.SetWindowVariant(variant=FONT_VARIANT) 
Note: See TracChangeset for help on using the changeset viewer.