Changeset 2431 for trunk/GSASIIctrls.py


Ignore:
Timestamp:
Aug 18, 2016 1:29:15 PM (6 years ago)
Author:
vondreele
Message:

fix problem with wxPython 3.x with changing text entry focus. Needed a event.Skip() in every TextCtrl? event handler. Hope I got them all...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrls.py

    r2416 r2431  
    529529        Evaluate and update the current control contents
    530530        '''
     531        event.Skip()
    531532        if self.evaluated: # deal with computed expressions
    532533            if self.invalid: # don't substitute for an invalid expression
     
    18881889       
    18891890        def OnValItem(event):
     1891            event.Skip()
    18901892            try:
    18911893                val = float(valItem.GetValue())
     
    19481950       
    19491951        def OnValItem(event):
     1952            event.Skip()
    19501953            Obj = event.GetEventObject()
    19511954            id,limits,format = Indx[Obj]
     
    21502153           
    21512154        def OnModify(event):
     2155            event.Skip()
    21522156            Obj = event.GetEventObject()
    21532157            icol,colData = Indx[Obj.GetId()]
     
    37493753    def _onSpin(self,event):
    37503754        'Called to load info about the selected version in the dialog'
     3755        event.Skip()
    37513756        ver = self.spin.GetValue()
    37523757        d = GSASIIpath.svnGetLog(version=ver)
Note: See TracChangeset for help on using the changeset viewer.