Comment 5 for bug 232436

Revision history for this message
Stani (stani) wrote :

I've commited a fix in bazaar. If you are familiar with bazaar please try it out. I will upload the fix later to my ppa and I want to fix another bug before doing a backport for Ubuntu.

$ bzr diff
=== modified file 'phatch/pyWx/lib/popup.py'
--- phatch/pyWx/lib/popup.py 2008-03-05 11:40:23 +0000
+++ phatch/pyWx/lib/popup.py 2008-05-23 14:47:56 +0000
@@ -81,9 +81,12 @@
             %(self.instance.__class__.__name__,self.method)

 #---base controls
+def untranslated(self,x):
+ return x
+
 class _Ctrl(object):
- _to_local = str
- _to_english = str
+ _to_local = untranslated
+ _to_english = untranslated

     def Set(self,value):
         self.SetValue(self._to_local(value))

$ bzr commit -m "fix unicode variables"
Committing to: /home/stani/sync/python/phatch/trunk/
modified phatch/pyWx/lib/popup.py
Committed revision 527.