[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r5606 - in trunk/gnue-forms/src: . uidrivers/wx
From: |
reinhard |
Subject: |
r5606 - in trunk/gnue-forms/src: . uidrivers/wx |
Date: |
Thu, 1 Apr 2004 06:51:55 -0600 (CST) |
Author: reinhard
Date: 2004-04-01 06:51:54 -0600 (Thu, 01 Apr 2004)
New Revision: 5606
Modified:
trunk/gnue-forms/src/GFDisplayHandler.py
trunk/gnue-forms/src/uidrivers/wx/UIdriver.py
Log:
Fixed output of error messages in status bar.
Modified: trunk/gnue-forms/src/GFDisplayHandler.py
===================================================================
--- trunk/gnue-forms/src/GFDisplayHandler.py 2004-04-01 09:55:04 UTC (rev
5605)
+++ trunk/gnue-forms/src/GFDisplayHandler.py 2004-04-01 12:51:54 UTC (rev
5606)
@@ -179,7 +179,7 @@
else:
self.dispatchEvent(events.Event('formALERT',
- _("Invalid input: '%s'") % self.work,_form=event._form))
+ u_("Invalid input: '%s'") % self.work,_form=event._form))
def addText(self, event):
Modified: trunk/gnue-forms/src/uidrivers/wx/UIdriver.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx/UIdriver.py 2004-04-01 09:55:04 UTC
(rev 5605)
+++ trunk/gnue-forms/src/uidrivers/wx/UIdriver.py 2004-04-01 12:51:54 UTC
(rev 5606)
@@ -53,7 +53,7 @@
from gnue.forms.uidrivers.wx.common import _eventObjTowxWindow
from PrintForm import printForm
-#from common import *
+from common import wxEncode
#
@@ -167,7 +167,7 @@
def formAlert(self, event):
wxBell()
ui = self._gfObjToUIWidget[event._form]
- ui.statusBar.SetStatusText(event.data,0)
+ ui.statusBar.SetStatusText(wxEncode(event.data),0)
#
# Called whenever forms goes into a "wait" state in which user cannot
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r5606 - in trunk/gnue-forms/src: . uidrivers/wx,
reinhard <=