mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 07:37:02 +02:00
LCL: Clean comments after changing the shortcut function signatures.
git-svn-id: trunk@29885 -
This commit is contained in:
parent
4c2bf7e89d
commit
f8585cd5ce
@ -199,7 +199,7 @@ end;
|
||||
{------------------------------------------------------------------------------
|
||||
Method: TCarbonWSMenuItem.SetShortCut
|
||||
Params: AMenuItem - LCL menu item
|
||||
OldShortCut - Old shortcut
|
||||
ShortCutK1 and ShortCutK2 - New shortcut key1 and key2
|
||||
|
||||
Sets the shortcut of menu item in Carbon interface
|
||||
------------------------------------------------------------------------------}
|
||||
|
@ -216,7 +216,7 @@ end;
|
||||
{------------------------------------------------------------------------------
|
||||
Method: TCocoaWSMenuItem.SetShortCut
|
||||
Params: AMenuItem - LCL menu item
|
||||
OldShortCut - Old shortcut
|
||||
ShortCutK1 and ShortCutK2 - New shortcut key1 and key2
|
||||
|
||||
Sets the shortcut of menu item in Cocoa interface
|
||||
------------------------------------------------------------------------------}
|
||||
|
@ -6051,9 +6051,6 @@ begin
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
procedure UpdateInnerMenuItem(LCLMenuItem: TMenuItem;
|
||||
MenuItemWidget: PGtkWidget; NewShortCut: TShortCut);
|
||||
|
||||
Update the inner widgets of a menuitem widget.
|
||||
------------------------------------------------------------------------------}
|
||||
procedure UpdateInnerMenuItem(LCLMenuItem: TMenuItem; MenuItemWidget: PGtkWidget;
|
||||
|
@ -237,7 +237,6 @@ class procedure TGtkWSMenuItem.SetShortCut(const AMenuItem: TMenuItem;
|
||||
begin
|
||||
if not WSCheckMenuItem(AMenuItem, 'SetShortCut') then
|
||||
Exit;
|
||||
//DebugLn(['TGtkWSMenuItem.SetShortCut ',dbgsName(AMenuItem),' ',ShortCutToText(NewShortCut)]);
|
||||
UpdateInnerMenuItem(AMenuItem, PGTKWidget(AMenuItem.Handle), ShortCutK1, ShortCutK2);
|
||||
end;
|
||||
|
||||
|
@ -5718,9 +5718,6 @@ begin
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
procedure UpdateInnerMenuItem(LCLMenuItem: TMenuItem;
|
||||
MenuItemWidget: PGtkWidget; NewShortCut: TShortCut);
|
||||
|
||||
Update the inner widgets of a menuitem widget.
|
||||
------------------------------------------------------------------------------}
|
||||
procedure UpdateInnerMenuItem(LCLMenuItem: TMenuItem; MenuItemWidget: PGtkWidget;
|
||||
@ -5755,7 +5752,6 @@ var
|
||||
Shift, Shift2: TShiftState;
|
||||
s: String;
|
||||
begin
|
||||
//DebugLn(['UpdateShortCutLabel ',dbgsName(LCLMenuItem),' ',ShortCutToText(NewShortCut)]);
|
||||
ShortCutToKey(NewShortCut, Key, Shift);
|
||||
ShortCutToKey(ShortCutKey2, Key2, Shift2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user