Changeset a45037aa in sasview for guiframe/local_perspectives


Ignore:
Timestamp:
Feb 4, 2011 3:28:27 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:
3f0351c6
Parents:
27f3831
Message:

working on toolbar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/Plotter1D.py

    r7a67e075 ra45037aa  
    2828from sans.guiframe.events import ErrorDataEvent 
    2929from sans.guiframe.events import RemoveDataEvent 
    30 from sans.guiframe.events import AddManyDataEvent 
     30from sans.guiframe.events import PanelOnFocusEvent 
    3131from sans.guiframe.events import EVT_NEW_LOADED_DATA 
    3232from sans.guiframe.utils import PanelMenu 
     
    6060                 dpi=None, style=wx.NO_FULL_REPAINT_ON_RESIZE, **kwargs): 
    6161        PlotPanel.__init__(self, parent, id=id, style=style, **kwargs) 
    62         PanelBase.__init__(self) 
     62        PanelBase.__init__(self, parent) 
    6363        ## Reference to the parent window 
    6464        self.parent = parent 
     
    210210             
    211211        #post nd event to notify guiframe that this panel is on focus 
    212         wx.PostEvent(self.parent, AddManyDataEvent(panel=self)) 
     212        wx.PostEvent(self.parent, PanelOnFocusEvent(panel=self)) 
    213213         
    214214    def _onRemove(self, event): 
Note: See TracChangeset for help on using the changeset viewer.