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)
This commit is contained in:
Viktor Szakats
2011-05-17 23:07:47 +00:00
parent 7c7676babe
commit 3c5ba734e9
2 changed files with 12 additions and 0 deletions

View File

@@ -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

View File

@@ -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;