From a3736ef475f212f1f7b07c36278ba83d7511406c Mon Sep 17 00:00:00 2001 From: Michael Bedward Date: Sun, 15 Aug 1999 04:19:25 +0000 Subject: [PATCH] Put the call to CheckForKeyDown() back in to ProcessXEvent because key down events are no longer being generated in wxCanvasInputEvent(). If you find yourself getting double key down events then CheckForKeyDown() should be bypassed again (but what is going on ???). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/app.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/motif/app.cpp b/src/motif/app.cpp index 6cf5ad773d..72ab9cb7b2 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -352,7 +352,11 @@ void wxApp::ProcessXEvent(WXEvent* _event) // accelerator. return; } -#if 0 // this isn't necessary anymore ??? -michael +#if 1 + // It seemed before that this hack was redundant and + // key down events were being generated by wxCanvasInputEvent. + // But no longer - why ??? + // else if (CheckForKeyDown(_event)) { // We intercepted and processed the key down event -- 2.45.2