2016-09-22 15:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbapi.h
* include/hbvmpub.h
* removed casting C style casting from commonly used macros
* contrib/gtqtc/gtqtc1.cpp
* use C++ casting instead of C casting
* contrib/rddads/ads1.c
* contrib/rddads/adsx.c
* contrib/rddsql/sqlmix.c
* src/rdd/dbfcdx/dbfcdx1.c
* src/rdd/dbfnsx/dbfnsx1.c
* src/rdd/dbfntx/dbfntx1.c
* src/rdd/dbsql.c
* src/rdd/workarea.c
* cleaned HB_IT_* usage
* contrib/rddads/ads1.c
! fixed typo in low level code of ordDescend() / DBOI_ISDESC,
now ordDescend() should work with ADS* RDDs just like with
native RDDs
* contrib/hbfoxpro/relfunc.c
! fixed typo in Between() function - thanks to Petr Chorney
* src/rtl/gtwvt/gtwvt.c
! added workaround for keyboard drivers which sets CTRL key modifier
flag when only ALTGR is pressed - thanks to Maurizio la Cecilia
This commit is contained in:
@@ -2603,9 +2603,9 @@ static HB_BOOL hb_gt_wvt_KeyEvent( PHB_GTWVT pWVT, UINT message, WPARAM wParam,
|
||||
break;
|
||||
|
||||
case WM_CHAR:
|
||||
if( ( iFlags & HB_KF_CTRL ) != 0 ? ( iFlags & HB_KF_ALT ) != 0 :
|
||||
( ( iFlags & HB_KF_ALTGR ) != 0 ) )
|
||||
/* workaround for AltGR and German keyboard */
|
||||
if( ( ( iFlags & HB_KF_CTRL ) != 0 && ( iFlags & HB_KF_ALT ) != 0 ) ||
|
||||
( iFlags & HB_KF_ALTGR ) != 0 )
|
||||
/* workaround for AltGR and some German/Italian keyboard */
|
||||
iFlags &= ~( HB_KF_CTRL | HB_KF_ALT | HB_KF_ALTGR );
|
||||
case WM_SYSCHAR:
|
||||
iFlags = hb_gt_wvt_UpdateKeyFlags( iFlags );
|
||||
|
||||
Reference in New Issue
Block a user