From 3c5ba734e9a09e045ed42ad6990cc12f6e303fc7 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 17 May 2011 23:07:47 +0000 Subject: [PATCH] 2011-05-18 01:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/gtwvt/gtwvt.c ! fixed regression in: 2011-02-26 20:07 UTC+0100 Viktor Szakats / patch by Aleksander Czajczynski VK_RETURN event override caused 'Mark and Copy' menu functionality to break, it's no longer possible to select an area. Aleksander, I'd appreciate if you could check and fix this. For now I commented the VK_RETURN override (it may break some fullscreen features) --- harbour/ChangeLog | 10 ++++++++++ harbour/src/rtl/gtwvt/gtwvt.c | 2 ++ 2 files changed, 12 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 10c1801cac..46506fc4dc 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,16 @@ The license applies to all entries newer than 2009-04-28. */ +2011-05-18 01:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * src/rtl/gtwvt/gtwvt.c + ! fixed regression in: + 2011-02-26 20:07 UTC+0100 Viktor Szakats / patch by Aleksander Czajczynski + VK_RETURN event override caused 'Mark and Copy' menu functionality + to break, it's no longer possible to select an area. Aleksander, + I'd appreciate if you could check and fix this. + For now I commented the VK_RETURN override (it may break some + fullscreen features) + 2011-05-17 22:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/xhb/xhb.hbc * contrib/xhb/xhb.hbp diff --git a/harbour/src/rtl/gtwvt/gtwvt.c b/harbour/src/rtl/gtwvt/gtwvt.c index f1f235692a..a2c8d3a70d 100644 --- a/harbour/src/rtl/gtwvt/gtwvt.c +++ b/harbour/src/rtl/gtwvt/gtwvt.c @@ -1220,6 +1220,7 @@ static HB_BOOL hb_gt_wvt_KeyEvent( PHB_GTWVT pWVT, UINT message, WPARAM wParam, switch( wParam ) { +#if 0 /* TOFIX: it breaks Mark and Copy functionality. */ case VK_RETURN: /* in WM_CHAR i was unable to read Alt key state */ if( bAlt && pWVT->bAltEnter ) @@ -1228,6 +1229,7 @@ static HB_BOOL hb_gt_wvt_KeyEvent( PHB_GTWVT pWVT, UINT message, WPARAM wParam, pWVT->IgnoreWM_SYSCHAR = HB_TRUE; } break; +#endif case VK_LEFT: hb_gt_wvt_TranslateKey( pWVT, K_LEFT , K_SH_LEFT , K_ALT_LEFT , K_CTRL_LEFT ); break;