Changeset 1963 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Aug 27, 2015 10:09:04 AM (7 years ago)
Author:
vondreele
Message:

fix wx 3.x issue with ComboBox? & nonstandard SSpace group symbols

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r1958 r1963  
    764764            SSChoice = G2spc.ssdict.get(generalData['SGData']['SpGrp'],[])
    765765            if SSChoice:
    766                 superGp = wx.ComboBox(General,value=generalData['SuperSg'],choices=SSChoice,style=wx.CB_DROPDOWN)   #wx.CB_READONLY|
     766                superGp = wx.ComboBox(General,value=generalData['SuperSg'],choices=SSChoice,style=wx.CB_DROPDOWN|wx.TE_PROCESS_ENTER)
     767                superGp.Bind(wx.EVT_TEXT_ENTER,OnSuperGp)
    767768                superGp.Bind(wx.EVT_COMBOBOX,OnSuperGp)
    768                 superGp.Bind(wx.EVT_TEXT_ENTER,OnSuperGp)
    769769            else:   #nonstandard space group symbol not in my dictionary
    770770                superGp = wx.TextCtrl(General,value=generalData['SuperSg'],style=wx.TE_PROCESS_ENTER)
Note: See TracChangeset for help on using the changeset viewer.