Changeset 3588 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Sep 7, 2018 9:10:11 AM (5 years ago)
Author:
vondreele
Message:

fix old style wx.CHANGE_DIR to wx.DR_CHANGE_DIR in several places.
fix save plot bug jpeg can not be RGBA but only RGB - simplify code as distinction between jpeg & others isn't

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r3587 r3588  
    40804080        def OnImportLayer(event):
    40814081            dlg = wx.FileDialog(G2frame, 'Choose GSAS-II project file',
    4082                 wildcard='GSAS-II project file (*.gpx)|*.gpx',style=wx.FD_OPEN| wx.CHANGE_DIR)
     4082                wildcard='GSAS-II project file (*.gpx)|*.gpx',style=wx.FD_OPEN| wx.FD_CHANGE_DIR)
    40834083            try:
    40844084                if dlg.ShowModal() == wx.ID_OK:
     
    45314531    def OnCopyPhase(event):
    45324532        dlg = wx.FileDialog(G2frame, 'Choose GSAS-II project file',
    4533             wildcard='GSAS-II project file (*.gpx)|*.gpx',style=wx.FD_OPEN| wx.CHANGE_DIR)
     4533            wildcard='GSAS-II project file (*.gpx)|*.gpx',style=wx.FD_OPEN| wx.FD_CHANGE_DIR)
    45344534        try:
    45354535            if dlg.ShowModal() == wx.ID_OK:
     
    45614561                dlg.Destroy()
    45624562        dlg = wx.FileDialog(G2frame, 'Choose DIFFaX file name to read', '.', '',
    4563             'DIFFaX file (*.*)|*.*',style=wx.FD_OPEN | wx.CHANGE_DIR)
     4563            'DIFFaX file (*.*)|*.*',style=wx.FD_OPEN | wx.FD_CHANGE_DIR)
    45644564        try:
    45654565            if dlg.ShowModal() == wx.ID_OK:
Note: See TracChangeset for help on using the changeset viewer.