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

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: johannes
Date: 2007-04-25 08:57:02 -0500 (Wed, 25 Apr 2007)
New Revision: 9514

Modified:
   trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py
Log:
Do not pass wx.WXK_TAB to the OS but let GFTabStop handle it instead. This
makes Combos behave properly if used in a rows-table


Modified: trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py	2007-04-25 08:48:01 UTC (rev 9513)
+++ trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py	2007-04-25 13:57:02 UTC (rev 9514)
@@ -354,7 +354,7 @@
         command = None
 
         allowed = [wx.WXK_RETURN]
-        if 'wxGTK' in wx.PlatformInfo:
+        if 'wxGTK' in wx.PlatformInfo or 'wxMac' in wx.PlatformInfo:
             allowed.append(wx.WXK_TAB)
 
         if keycode in allowed:
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.