mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 09:12:49 +02:00
ShortCutToKey param as "out" instead of "var"
git-svn-id: trunk@34940 -
This commit is contained in:
parent
ebb35c4a27
commit
b9adcfa385
@ -417,8 +417,8 @@ type
|
||||
end;
|
||||
|
||||
function ShortCut(const Key: Word; const Shift : TShiftState) : TShortCut;
|
||||
procedure ShortCutToKey(const ShortCut : TShortCut; var Key: Word;
|
||||
var Shift : TShiftState);
|
||||
procedure ShortCutToKey(const ShortCut : TShortCut; out Key: Word;
|
||||
out Shift : TShiftState);
|
||||
|
||||
var
|
||||
DesignerMenuItemClick: TNotifyEvent = nil;
|
||||
@ -566,8 +566,8 @@ begin
|
||||
Result := LCLType.KeyToShortCut(Key,Shift);
|
||||
end;
|
||||
|
||||
procedure ShortCutToKey(const ShortCut: TShortCut; var Key: Word;
|
||||
var Shift : TShiftState);
|
||||
procedure ShortCutToKey(const ShortCut: TShortCut; out Key: Word;
|
||||
out Shift : TShiftState);
|
||||
begin
|
||||
Key := ShortCut and $FF;
|
||||
Shift := [];
|
||||
|
Loading…
Reference in New Issue
Block a user