MG: fixed keygrabbing key translation

git-svn-id: trunk@818 -
This commit is contained in:
lazarus 2002-02-09 01:46:52 +00:00
parent 8ff70eb8c0
commit acd845a307

View File

@ -525,7 +525,7 @@ begin
if VirtualKey=VK_UNKNOWN then begin
// map all other keys to VK_IRREGULAR + KeyCode
if ShortInt(KeyCode)>=0 then
VirtualKey := VK_IRREGULAR + KeyCode
VirtualKey := MapIrregularVirtualKey(VK_IRREGULAR + KeyCode)
else
VirtualKey := VK_IRREGULAR;
end;
@ -2207,6 +2207,9 @@ end;
{ =============================================================================
$Log$
Revision 1.61 2002/08/17 11:38:04 lazarus
MG: fixed keygrabbing key translation
Revision 1.60 2002/08/16 17:47:39 lazarus
MG: added some IDE menuicons, fixed submenu indicator bug