[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r9235 - trunk/gnue-forms/src/uidrivers/wx26/widgets
From: |
johannes |
Subject: |
[gnue] r9235 - trunk/gnue-forms/src/uidrivers/wx26/widgets |
Date: |
Tue, 9 Jan 2007 03:54:30 -0600 (CST) |
Author: johannes
Date: 2007-01-09 03:54:29 -0600 (Tue, 09 Jan 2007)
New Revision: 9235
Modified:
trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py
Log:
Don't explicitly process the TAB key since this will be done
automatically
Modified: trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py 2007-01-09
09:14:51 UTC (rev 9234)
+++ trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py 2007-01-09
09:54:29 UTC (rev 9235)
@@ -355,7 +355,7 @@
keycode = event.GetKeyCode()
command = None
- if keycode in [wx.WXK_TAB, wx.WXK_RETURN]:
+ if keycode in [wx.WXK_RETURN]:
(command, args) = GFKeyMapper.KeyMapper.getEvent (keycode,
event.ShiftDown(),
event.CmdDown(),
@@ -442,14 +442,14 @@
widget.Set3StateValue(wx.CHK_UNCHECKED)
else:
- if isinstance (widget, wx.ComboBox):
+ if isinstance(widget, wx.ComboBox):
# We use SetStringSelection to keep the selected index in
# sync with the string value (e.g. in Choice-Controls on OS
# X)
- if not widget.SetStringSelection (value):
- widget.SetValue (value)
+ if not widget.SetStringSelection(value):
+ widget.SetValue(value)
else:
- widget.SetValue (value)
+ widget.SetValue(value)
finally:
if self.in_grid and widget._gnue_label_:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r9235 - trunk/gnue-forms/src/uidrivers/wx26/widgets,
johannes <=