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.
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 pyWx/lib/ popup.py' pyWx/lib/ popup.py 2008-03-05 11:40:23 +0000 pyWx/lib/ popup.py 2008-05-23 14:47:56 +0000
% (self.instance. __class_ _.__name_ _,self. method)
=== modified file 'phatch/
--- phatch/
+++ phatch/
@@ -81,9 +81,12 @@
#---base controls self,x) :
+def untranslated(
+ 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" sync/python/ phatch/ trunk/ pyWx/lib/ popup.py
Committing to: /home/stani/
modified phatch/
Committed revision 527.