[gnue] r9484 - trunk/gnue-forms/src/uidrivers/wx26

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: reinhard
Date: 2007-04-10 10:44:51 -0500 (Tue, 10 Apr 2007)
New Revision: 9484

Modified:
   trunk/gnue-forms/src/uidrivers/wx26/dialogs.py
Log:
Further fix.

issue158 testing


Modified: trunk/gnue-forms/src/uidrivers/wx26/dialogs.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/dialogs.py	2007-04-10 15:41:15 UTC (rev 9483)
+++ trunk/gnue-forms/src/uidrivers/wx26/dialogs.py	2007-04-10 15:44:51 UTC (rev 9484)
@@ -391,7 +391,7 @@
         widget.Append (unicode(v), k)
 
       if widget._default in values:
-        widget.SetStringSelection (values [widget._default])
+        widget.SetStringSelection(unicode(values[widget._default]))
         self.inputData [widget._name] = widget._default
       else:
         self.inputData [widget._name] = widget.GetClientData (0)
@@ -573,8 +573,8 @@
   cname = {'c1': 'demoa', 'c2': 'demob'}
   ckey  = {'c1': 'ck-A' , 'c2': 'ck-B'}
 
-  wija = {'c1': {'04': '2004', '05': '2005'},
-          'c2': {'24': '2024', '25': '2025', '26': '2026'}}
+  wija = {'c1': {'04': 2004, '05': 2005},
+          'c2': {'24': 2024, '25': 2025, '26': 2026}}
 
   codes = {'24': {'241': 'c-24-1', '242': 'c-24-2'},
            '25': {'251': 'c-25-1'}}
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.