Changeset 1448 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jul 31, 2014 12:19:10 PM (7 years ago)
Author:
toby
Message:

quick wx2.9+ fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r1445 r1448  
    46544654    try:
    46554655        plotNum = G2frame.G2plotNB.plotList.index(generalData['Name'])
    4656         Page = G2frame.G2plotNB.nb.GetPage(plotNum)       
     4656        Page = G2frame.G2plotNB.nb.GetPage(plotNum)
    46574657    except ValueError:
    46584658        Plot = G2frame.G2plotNB.addOgl(generalData['Name'])
     
    46624662        view = False
    46634663        altDown = False
     4664    G2frame.G2plotNB.nb.SetSelection(plotNum) # make sure plot tab is raised for wx >2.8
    46644665    Font = Page.GetFont()
    46654666    Page.SetFocus()
Note: See TracChangeset for help on using the changeset viewer.