diff --git a/harbour/ChangeLog.txt b/harbour/ChangeLog.txt index 4186c73dc4..2e2a871a7b 100644 --- a/harbour/ChangeLog.txt +++ b/harbour/ChangeLog.txt @@ -10,10 +10,16 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2013-03-13 02:20 UTC+0100 Viktor Szakats (harbour syenar.net) + * contrib/gtwvg/gtwgud.c + * contrib/gtwvg/gtwvgd.c + ! fixed to use K_ESC instead of literals after + 2013-03-12 18:06 UTC-0800 + 2013-03-12 18:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c - ! Fixed: reverted parts of last wreckless commit without checking + ! Fixed: reverted parts of last wreckless commit without checking the changes. Sorry, I must be more attentive next time. 2013-03-13 00:09 UTC+0100 Viktor Szakats (harbour syenar.net) diff --git a/harbour/contrib/gtwvg/gtwgud.c b/harbour/contrib/gtwvg/gtwgud.c index 984caf0410..107f588201 100644 --- a/harbour/contrib/gtwvg/gtwgud.c +++ b/harbour/contrib/gtwvg/gtwgud.c @@ -1049,7 +1049,7 @@ static LRESULT CALLBACK hb_gt_wvt_WndProc( HWND hWnd, UINT message, WPARAM wPara PHB_ITEM pEvParams = hb_itemNew( NULL ); if( hb_gt_wvt_FireEvent( pWVT, HB_GTE_CLOSE, pEvParams ) == 0 ) { - hb_gt_wvt_AddCharToInputQueue( pWVT, 27 ); + hb_gt_wvt_AddCharToInputQueue( pWVT, K_ESC ); } return 0; } diff --git a/harbour/contrib/gtwvg/gtwvgd.c b/harbour/contrib/gtwvg/gtwvgd.c index 105e6be9f4..9b438d12ea 100644 --- a/harbour/contrib/gtwvg/gtwvgd.c +++ b/harbour/contrib/gtwvg/gtwvgd.c @@ -2138,7 +2138,7 @@ static LRESULT CALLBACK hb_gt_wvt_WndProc( HWND hWnd, UINT message, WPARAM wPara PHB_ITEM pEvParams = hb_itemNew( NULL ); if( hb_gt_wvt_FireEvent( pWVT, HB_GTE_CLOSE, pEvParams ) == 0 ) { - hb_gt_wvt_AddCharToInputQueue( pWVT, 27 ); + hb_gt_wvt_AddCharToInputQueue( pWVT, K_ESC ); #if 0 PHB_ITEM pItem = hb_itemPutL( NULL, HB_TRUE ); hb_setSetItem( HB_SET_CANCEL, pItem );