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

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: johannes
Date: 2007-05-16 07:53:12 -0500 (Wed, 16 May 2007)
New Revision: 9592

Modified:
   trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py
Log:
Always process the Enter key (even in dialogs on wxMSW)


Modified: trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py	2007-05-16 07:04:50 UTC (rev 9591)
+++ trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py	2007-05-16 12:53:12 UTC (rev 9592)
@@ -87,6 +87,8 @@
 
         if multiline:
             xFlags |= wx.TE_MULTILINE
+        else:
+            xFlags |= wx.TE_PROCESS_ENTER
 
         # Right-align numeric fields.  This does work on wxMSW and wxGTK only.
         if self._gfObject._field.datatype == 'number':
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.