[gnue] r9537 - trunk/gnue-forms/src/uidrivers/wx26/widgets

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: johannes
Date: 2007-04-27 02:02:29 -0500 (Fri, 27 Apr 2007)
New Revision: 9537

Modified:
   trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py
Log:
Also allow Tab as a valid key in a dropdown on wxMSW


Modified: trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py	2007-04-26 16:46:07 UTC (rev 9536)
+++ trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py	2007-04-27 07:02:29 UTC (rev 9537)
@@ -353,9 +353,7 @@
         keycode = event.GetKeyCode()
         command = None
 
-        allowed = [wx.WXK_RETURN]
-        if 'wxGTK' in wx.PlatformInfo or 'wxMac' in wx.PlatformInfo:
-            allowed.append(wx.WXK_TAB)
+        allowed = [wx.WXK_RETURN, wx.WXK_TAB]
 
         if keycode in allowed:
             (command, args) = GFKeyMapper.KeyMapper.getEvent (keycode,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.