dabo Commit
Revision 2628
Date: 2007-01-08 13:18:59 -0800 (Mon, 08 Jan 2007)
Author: Ed
Changed:
U trunk/dabo/ui/uiwx/__init__.py
Log:
The keyChar value in the EventData dictionary was not getting set properly in
Gtk. This fixes that problem, and should also fix Tracker #0272, involving the
Intellisense failure to work on openSuSE systems.
Diff:
Modified: trunk/dabo/ui/uiwx/__init__.py
===================================================================
--- trunk/dabo/ui/uiwx/__init__.py 2007-01-08 20:38:32 UTC (rev 2627)
+++ trunk/dabo/ui/uiwx/__init__.py 2007-01-08 21:18:59 UTC (rev 2628)
@@ -383,7 +383,7 @@
ed["unicodeKey"] = wxEvt.GetUnicodeKey()
ed["hasModifiers"] = wxEvt.HasModifiers()
try:
- if wx.Platform == "__WXMAC__":
+ if wx.Platform in ("__WXMAC__", "__WXGTK__"):
ed["keyChar"] = chr(wxEvt.GetKeyCode())
else:
ed["keyChar"] = chr(wxEvt.GetRawKeyCode())
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev