Changeset 0f815f9 in sasview for guiframe/local_perspectives
- Timestamp:
- Jun 22, 2011 1:35:11 PM (13 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:
- 09a9660
- Parents:
- 889e9f8
- Location:
- guiframe/local_perspectives/plotting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter1D.py
rf6aee42 r0f815f9 142 142 # It was found that wx >= 2.9.3 sends an event even if no size changed. 143 143 # So manually recode the size (=x_size) and compare here. 144 """ 144 145 if event != None: 146 event.Skip() 145 147 if self.x_size != None: 146 148 if self.x_size == self.GetSize(): … … 149 151 return 150 152 self.x_size = self.GetSize() 151 """ 153 152 154 # Ready for another event 153 155 # Do not remove this Skip. Otherwise it will get runtime error on wx>=2.9. -
guiframe/local_perspectives/plotting/plotting.py
r4520830 r0f815f9 159 159 self.menu.AppendCheckItem(event_id, new_panel.window_caption, 160 160 "Show %s plot panel" % new_panel.window_caption) 161 self.menu.Check(event_id, IS_WIN)161 self.menu.Check(event_id, True)#IS_WIN) 162 162 wx.EVT_MENU(self.parent, event_id, self._on_check_menu) 163 163 … … 308 308 if self.menu.IsChecked(event_id): 309 309 self.parent.on_view(event) 310 self.menu.Check(event_id, IS_WIN)310 self.menu.Check(event_id, True)#IS_WIN) 311 311 else: 312 312 self.parent.hide_panel(event_id)
Note: See TracChangeset
for help on using the changeset viewer.