Changeset 4bd492f in sasview for sansview/perspectives


Ignore:
Timestamp:
Apr 18, 2011 10:19:34 AM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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:
ba1f0b2
Parents:
c0ff8cc
Message:

set simul.page on panelbase

File:
1 edited

Legend:

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

    r2296316 r4bd492f  
    33import wx.lib.newevent  
    44from sans.guiframe.events import StatusEvent  
    5     
     5from sans.guiframe.panel_base import PanelBase 
     6from wx.lib.scrolledpanel import ScrolledPanel 
    67#Control panel width  
    78if sys.platform.count("darwin")==0: 
     
    3132    return fittable_param 
    3233 
    33 class SimultaneousFitPage(wx.ScrolledWindow): 
     34class SimultaneousFitPage(ScrolledPanel, PanelBase): 
    3435    """ 
    3536    Simultaneous fitting panel 
     
    4445     
    4546    def __init__(self, parent,page_finder ={}, *args, **kwargs): 
    46         wx.ScrolledWindow.__init__(self, parent,style= wx.FULL_REPAINT_ON_RESIZE ) 
     47        ScrolledPanel.__init__(self, parent,style= wx.FULL_REPAINT_ON_RESIZE ) 
     48        PanelBase.__init__(self, parent) 
    4749        """ 
    4850        Simultaneous page display 
Note: See TracChangeset for help on using the changeset viewer.