dabo Commit
Revision 1169
Date: 2005-08-14 15:55:49 -0700 (Sun, 14 Aug 2005)
Author: ed
Changed:
U trunk/dabo/ui/uiwx/dPemMixin.py
Log:
Commented out some lines that were preventing keystrokes from working in
controls. These lines may be necessary under Windows, according to Paul's
comments when he added them, so I will test this on Windows next.
Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py 2005-08-14 18:37:05 UTC (rev 1168)
+++ trunk/dabo/ui/uiwx/dPemMixin.py 2005-08-14 22:55:49 UTC (rev 1169)
@@ -266,15 +266,18 @@
## pkm 3/14/05: not sure about the ResumePropagation(),
## but I noticed on Windows that it is needed for the keypresses
## to get noticed by anything but the focused control.
- evt.ResumePropagation(1)
+ ## 2005.8.14 - ed - This is what is preventing keystrokes from
working
+ ## under Linux. We may need to bracket the code and only
+ ## make this call if we are running on Windows.
+# evt.ResumePropagation(1)
def __onWxKeyUp(self, evt):
self.raiseEvent(dEvents.KeyUp, evt)
- evt.ResumePropagation(1)
+# evt.ResumePropagation(1)
def __onWxKeyDown(self, evt):
self.raiseEvent(dEvents.KeyDown, evt)
- evt.ResumePropagation(1)
+# evt.ResumePropagation(1)
def __onWxLostFocus(self, evt):
if self._finito: return
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev