Changeset b770c3d in sasview for guiframe/local_perspectives/plotting
- Timestamp:
- Jun 19, 2011 1:04:50 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:
- 66718a1
- Parents:
- d363bf4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/plotting.py
rd363bf4 rb770c3d 23 23 DEFAULT_MENU_ITEM_LABEL = "No graph available" 24 24 DEFAULT_MENU_ITEM_ID = wx.NewId() 25 26 if sys.platform.count("darwin")==0:27 IS_WIN = True28 else:29 IS_WIN = False30 25 31 26 class Plugin(PluginBase): … … 159 154 self.menu.AppendCheckItem(event_id, new_panel.window_caption, 160 155 "Show %s plot panel" % new_panel.window_caption) 161 self.menu.Check(event_id, True) #IS_WIN)156 self.menu.Check(event_id, True) 162 157 wx.EVT_MENU(self.parent, event_id, self._on_check_menu) 163 158 … … 308 303 if self.menu.IsChecked(event_id): 309 304 self.parent.on_view(event) 310 self.menu.Check(event_id, True) #IS_WIN)305 self.menu.Check(event_id, True) 311 306 else: 312 307 self.parent.hide_panel(event_id)
Note: See TracChangeset
for help on using the changeset viewer.