Changeset a45037aa in sasview for guiframe/local_perspectives
- Timestamp:
- Feb 4, 2011 3:28:27 PM (14 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:
- 3f0351c6
- Parents:
- 27f3831
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter1D.py
r7a67e075 ra45037aa 28 28 from sans.guiframe.events import ErrorDataEvent 29 29 from sans.guiframe.events import RemoveDataEvent 30 from sans.guiframe.events import AddManyDataEvent30 from sans.guiframe.events import PanelOnFocusEvent 31 31 from sans.guiframe.events import EVT_NEW_LOADED_DATA 32 32 from sans.guiframe.utils import PanelMenu … … 60 60 dpi=None, style=wx.NO_FULL_REPAINT_ON_RESIZE, **kwargs): 61 61 PlotPanel.__init__(self, parent, id=id, style=style, **kwargs) 62 PanelBase.__init__(self )62 PanelBase.__init__(self, parent) 63 63 ## Reference to the parent window 64 64 self.parent = parent … … 210 210 211 211 #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)) 213 213 214 214 def _onRemove(self, event):
Note: See TracChangeset
for help on using the changeset viewer.