Changeset 834
- Timestamp:
- Jan 17, 2013 10:56:46 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r833 r834 1288 1288 colUiso = colLabels.index('Uiso') 1289 1289 attr = wx.grid.GridCellAttr() 1290 attr.IncRef() #fix from Jim Hester 1290 1291 attr.SetEditor(GridFractionEditor(Atoms)) 1291 1292 for c in range(colX,colX+3): -
trunk/GSASIIplot.py
r832 r834 11 11 import time 12 12 import copy 13 import sys 13 14 import os.path 14 15 import numpy as np … … 76 77 def __init__(self,parent,id=-1,dpi=None,**kwargs): 77 78 self.figure = wx.Panel.__init__(self,parent,id=id,**kwargs) 78 self.canvas = wx.glcanvas.GLCanvas(self,-1,**kwargs) 79 if 'win' in sys.platform: #Windows already double buffered 80 self.canvas = wx.glcanvas.GLCanvas(self,-1,**kwargs) 81 else: #fix from Jim Hester for X systems 82 attribs = (wx.glcanvas.WX_GL_DOUBLEBUFFER,) 83 self.canvas = wx.glcanvas.GLCanvas(self,-1,attribList=attribs,**kwargs) 79 84 self.camera = {} 80 85 sizer=wx.BoxSizer(wx.VERTICAL)
Note: See TracChangeset
for help on using the changeset viewer.