Changeset 1768


Ignore:
Timestamp:
Mar 30, 2015 8:24:32 AM (7 years ago)
Author:
vondreele
Message:

replace wx.MultiChoiceDialog? with G2MultiChoiceDialog for data delete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1764 r1768  
    28412841                name = self.PatternTree.GetItemText(item)
    28422842                if name not in ['Notebook','Controls','Covariance','Constraints',
    2843                     'Restraints','Phases','Rigid bodies']:
     2843                    'Restraints','Phases','Rigid bodies','Sequential results']:
    28442844                    if 'PWDR' in name: ifPWDR = True; nItems['PWDR'] += 1
    28452845                    if 'SASD' in name: ifSASD = True; nItems['SASD'] += 1
     
    28542854            if ifHKLF: TextList.insert(1,'All HKLF')
    28552855            if ifPDF: TextList.insert(1,'All PDF')               
    2856             dlg = wx.MultiChoiceDialog(self, 'Which data to delete?', 'Delete data', TextList, wx.CHOICEDLG_STYLE)
     2856            dlg = G2gd.G2MultiChoiceDialog(self, 'Which data to delete?', 'Delete data', TextList, wx.CHOICEDLG_STYLE)
    28572857            try:
    28582858                if dlg.ShowModal() == wx.ID_OK:
Note: See TracChangeset for help on using the changeset viewer.