diff --git a/wxPython/wxPython/lib/timectrl.py b/wxPython/wxPython/lib/timectrl.py index d32e17d825..4917f16dac 100644 --- a/wxPython/wxPython/lib/timectrl.py +++ b/wxPython/wxPython/lib/timectrl.py @@ -296,6 +296,7 @@ class wxTimeCtrl(wxTextCtrl): """ _dbg('wxTimeCtrl::OnFocus') wxCallAfter(self.__FixSelection) + event.Skip() def __FixSelection(self): @@ -591,6 +592,7 @@ class wxTimeCtrl(wxTextCtrl): _dbg(indent=1) self.IncrementCell(key, pos) + self.SetInsertionPoint(pos) _dbg(indent=0) else: if key == WXK_UP: inc = 1 @@ -620,6 +622,7 @@ class wxTimeCtrl(wxTextCtrl): _dbg(indent=1) _dbg("new digit = \'%s\'" % digit) self.ChangeValue(digit, pos) + self.SetInsertionPoint(pos) _dbg(indent=0)